diff --git a/tests/Zepto/FileLoader/PluginLoaderTest.php b/tests/Zepto/FileLoader/PluginLoaderTest.php index 58fe7e1..cb1aedb 100644 --- a/tests/Zepto/FileLoader/PluginLoaderTest.php +++ b/tests/Zepto/FileLoader/PluginLoaderTest.php @@ -66,7 +66,7 @@ public function testLoadSingleFile() */ public function testLoadInvalidPluginName() { - $this->loader = new PluginLoader(ROOT_DIR . 'tests/'); + $this->loader = new PluginLoader(ROOT_DIR . 'tests/mocks/'); $actual = $this->loader->load('invalid_Plugin.php'); } @@ -76,7 +76,7 @@ public function testLoadInvalidPluginName() */ public function testLoadWithPluginThatDoesNotHaveSameClassName() { - $this->loader = new PluginLoader(ROOT_DIR . 'tests/'); + $this->loader = new PluginLoader(ROOT_DIR . 'tests/mocks/'); $actual = $this->loader->load('WrongNamePlugin.php'); } @@ -86,7 +86,7 @@ public function testLoadWithPluginThatDoesNotHaveSameClassName() */ public function testLoadWithPluginThatDoesNotImplementInterface() { - $this->loader = new PluginLoader(ROOT_DIR . 'tests/'); + $this->loader = new PluginLoader(ROOT_DIR . 'tests/mocks/'); $actual = $this->loader->load('NoImplementInterfacePlugin.php'); } diff --git a/tests/mocks/NoImplementInterfacePlugin.php b/tests/mocks/NoImplementInterfacePlugin.php new file mode 100644 index 0000000..f00102c --- /dev/null +++ b/tests/mocks/NoImplementInterfacePlugin.php @@ -0,0 +1,37 @@ +