Tweak test
This commit is contained in:
parent
3ee84f766d
commit
70726a1c5a
@ -499,9 +499,14 @@ class PluginManagerTest extends TestCase
|
||||
|
||||
public function testDefaultPluginsDirectory()
|
||||
{
|
||||
$old = config('plugins.directory');
|
||||
config(['plugins.directory' => null]);
|
||||
|
||||
$directories = app('plugins')->getPluginsDirs();
|
||||
$this->assertEquals(1, $directories->count());
|
||||
$this->assertEquals(base_path('plugins'), $directories->first());
|
||||
|
||||
config(['plugins.directory' => $old]);
|
||||
}
|
||||
|
||||
public function testReadMultipleDirectories()
|
||||
|
Loading…
Reference in New Issue
Block a user