summaryrefslogtreecommitdiff
path: root/tests/units/Core/PluginLoaderTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-09-20 13:11:41 -0400
committerFrederic Guillot <fred@kanboard.net>2015-09-20 13:11:41 -0400
commita0124b45f9dab8a0f7d4879d4ea147b414b25bf2 (patch)
tree4f1a419104374591e269e9f32838ca500245fe1a /tests/units/Core/PluginLoaderTest.php
parentfe57edd9e87832dbd14ea8ffd2dc2f16ac1ceb6f (diff)
Add sub namespace for plugins
Diffstat (limited to 'tests/units/Core/PluginLoaderTest.php')
-rw-r--r--tests/units/Core/PluginLoaderTest.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/units/Core/PluginLoaderTest.php b/tests/units/Core/PluginLoaderTest.php
deleted file mode 100644
index 62327f01..00000000
--- a/tests/units/Core/PluginLoaderTest.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-require_once __DIR__.'/../Base.php';
-
-use Core\PluginLoader;
-
-class PluginLoaderTest extends Base
-{
- public function testGetSchemaVersion()
- {
- $p = new PluginLoader($this->container);
- $this->assertEquals(0, $p->getSchemaVersion('not_found'));
-
- $this->assertTrue($p->setSchemaVersion('plugin1', 1));
- $this->assertEquals(1, $p->getSchemaVersion('plugin1'));
-
- $this->assertTrue($p->setSchemaVersion('plugin2', 33));
- $this->assertEquals(33, $p->getSchemaVersion('plugin2'));
-
- $this->assertTrue($p->setSchemaVersion('plugin1', 2));
- $this->assertEquals(2, $p->getSchemaVersion('plugin1'));
- }
-}