Fix cleaning up

This commit is contained in:
Pig Fang 2018-08-19 18:38:05 +08:00
parent cf03da0a2e
commit 4e10159781

View File

@ -167,6 +167,8 @@ class MarketControllerTest extends TestCase
'dependencies'
]
]);
File::deleteDirectory(base_path('plugins/' . $package['name']));
}
protected function tearDown()
@ -174,7 +176,6 @@ class MarketControllerTest extends TestCase
// Clean fake plugins
File::deleteDirectory(base_path('plugins/fake-test-download'));
File::deleteDirectory(base_path('plugins/fake-test-update'));
File::deleteDirectory(base_path('plugins/fake'));
parent::tearDown();
}