Upstream spatie/temporary-directory state of the touched files before 6caf4cd401
This commit is contained in:
1 parent
f1a81ad34a
commit
539be424ae
2 files changed
+1
-25
No files matched your search
@@ -173,25 +173,6 @@ class TemporaryDirectoryTest extends TestCase
|
||||
$this->assertDirectoryExists("{$this->temporaryDirectoryFullPath}/{$subdirectory}");
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function it_can_create_a_subdirectory_when_the_location_contains_a_dot()
|
||||
{
|
||||
$dottedLocation = rtrim(sys_get_temp_dir(), DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'my.dotted.location';
|
||||
$this->deleteDirectory($dottedLocation);
|
||||
|
||||
$temporaryDirectory = (new TemporaryDirectory($dottedLocation))
|
||||
->name($this->temporaryDirectory)
|
||||
->create();
|
||||
|
||||
$subdirectory = 'abc';
|
||||
$subdirectoryPath = $temporaryDirectory->path($subdirectory);
|
||||
|
||||
$this->assertDirectoryExists($subdirectoryPath);
|
||||
|
||||
$temporaryDirectory->delete();
|
||||
$this->deleteDirectory($dottedLocation);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function it_can_create_a_multiple_subdirectories_in_the_temporary_directory()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user