File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
src/Symfony/Component/AssetMapper/Tests Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 15
15
use Symfony \Component \AssetMapper \ImportMap \ImportMapEntry ;
16
16
use Symfony \Component \AssetMapper \ImportMap \ImportMapType ;
17
17
use Symfony \Component \AssetMapper \ImportMap \RemotePackageStorage ;
18
+ use Symfony \Component \Filesystem \Exception \IOException ;
18
19
use Symfony \Component \Filesystem \Filesystem ;
19
20
20
21
class RemotePackageStorageTest extends TestCase
@@ -32,7 +33,11 @@ protected function setUp(): void
32
33
33
34
protected function tearDown (): void
34
35
{
35
- $ this ->filesystem ->remove (self ::$ writableRoot );
36
+ try {
37
+ $ this ->filesystem ->remove (self ::$ writableRoot );
38
+ } catch (IOException ) {
39
+ // no-op
40
+ }
36
41
}
37
42
38
43
public function testGetStorageDir ()
Original file line number Diff line number Diff line change 13
13
14
14
use PHPUnit \Framework \TestCase ;
15
15
use Symfony \Component \AssetMapper \Path \LocalPublicAssetsFilesystem ;
16
+ use Symfony \Component \Filesystem \Exception \IOException ;
16
17
use Symfony \Component \Filesystem \Filesystem ;
17
18
18
19
class LocalPublicAssetsFilesystemTest extends TestCase
@@ -30,7 +31,11 @@ protected function setUp(): void
30
31
31
32
protected function tearDown (): void
32
33
{
33
- $ this ->filesystem ->remove (self ::$ writableRoot );
34
+ try {
35
+ $ this ->filesystem ->remove (self ::$ writableRoot );
36
+ } catch (IOException ) {
37
+ // no-op
38
+ }
34
39
}
35
40
36
41
public function testWrite ()
You can’t perform that action at this time.
0 commit comments