From 3a46c2054426de0684d05f4f11be7a1d49300457 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Thu, 28 Apr 2016 23:39:47 +0300 Subject: [PATCH] Remove file for rename --- tests/Loadertest.php | 47 -------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 tests/Loadertest.php diff --git a/tests/Loadertest.php b/tests/Loadertest.php deleted file mode 100644 index aa4e67e..0000000 --- a/tests/Loadertest.php +++ /dev/null @@ -1,47 +0,0 @@ -assertTrue(is_array(Loader::getPaths())); - } - - public function testLoad() - { - $this->assertTrue(is_array(Loader::load())); - } - - public function testLoadExceptionWrongPaths() - { - $this->expectException('Exception'); - LoaderWithWrongPaths::load(); - } - - public function testLoadExceptionInvalidJson() - { - $this->expectException('Exception'); - LoaderWithInvalidJson::load(); - } -} - -class LoaderWithWrongPaths extends Loader -{ - public static function getPaths() - { - return [ - __DIR__ . '/virtual_reality.json', - ]; - } -} - -class LoaderWithInvalidJson extends Loader -{ - public static function getPaths() - { - return [ - __DIR__ . '/LoaderTest.php', - ]; - } -}