Add a test to cover
This commit is contained in:
parent
4fcdfc2b7e
commit
3b457ce329
@ -497,6 +497,13 @@ class PluginManagerTest extends TestCase
|
||||
plugin_assets('nope', 'relative');
|
||||
}
|
||||
|
||||
public function testDefaultPluginsDirectory()
|
||||
{
|
||||
$directories = app('plugins')->getPluginsDirs();
|
||||
$this->assertEquals(1, $directories->count());
|
||||
$this->assertEquals(base_path('plugins'), $directories->first());
|
||||
}
|
||||
|
||||
public function testReadMultipleDirectories()
|
||||
{
|
||||
$old = config('plugins.directory');
|
||||
|
Loading…
Reference in New Issue
Block a user