diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-09-20 13:11:41 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-09-20 13:11:41 -0400 |
commit | a0124b45f9dab8a0f7d4879d4ea147b414b25bf2 (patch) | |
tree | 4f1a419104374591e269e9f32838ca500245fe1a /tests | |
parent | fe57edd9e87832dbd14ea8ffd2dc2f16ac1ceb6f (diff) |
Add sub namespace for plugins
Diffstat (limited to 'tests')
-rw-r--r-- | tests/units/Core/Plugin/LoaderTest.php (renamed from tests/units/Core/PluginLoaderTest.php) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/units/Core/PluginLoaderTest.php b/tests/units/Core/Plugin/LoaderTest.php index 62327f01..40c23fbb 100644 --- a/tests/units/Core/PluginLoaderTest.php +++ b/tests/units/Core/Plugin/LoaderTest.php @@ -1,14 +1,14 @@ <?php -require_once __DIR__.'/../Base.php'; +require_once __DIR__.'/../../Base.php'; -use Core\PluginLoader; +use Core\Plugin\Loader; -class PluginLoaderTest extends Base +class LoaderTest extends Base { public function testGetSchemaVersion() { - $p = new PluginLoader($this->container); + $p = new Loader($this->container); $this->assertEquals(0, $p->getSchemaVersion('not_found')); $this->assertTrue($p->setSchemaVersion('plugin1', 1)); |