From b73eb19aed66190c10c9cad476da7c36c271d6dc Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Thu, 19 Sep 2019 15:08:45 +0300 Subject: [ci skip] 3.1.11 release --- tests/codeigniter/helpers/path_helper_test.php | 30 -------------------------- 1 file changed, 30 deletions(-) delete mode 100644 tests/codeigniter/helpers/path_helper_test.php (limited to 'tests/codeigniter/helpers/path_helper_test.php') diff --git a/tests/codeigniter/helpers/path_helper_test.php b/tests/codeigniter/helpers/path_helper_test.php deleted file mode 100644 index 9d325e70d..000000000 --- a/tests/codeigniter/helpers/path_helper_test.php +++ /dev/null @@ -1,30 +0,0 @@ -helper('path'); - } - - public function test_set_realpath() - { - $this->assertEquals(getcwd().DIRECTORY_SEPARATOR, set_realpath(getcwd())); - } - - public function test_set_realpath_nonexistent_directory() - { - $expected = '/path/to/nowhere'; - $this->assertEquals($expected, set_realpath('/path/to/nowhere', FALSE)); - } - - public function test_set_realpath_error_trigger() - { - $this->setExpectedException( - 'RuntimeException', 'CI Error: Not a valid path: /path/to/nowhere' - ); - - set_realpath('/path/to/nowhere', TRUE); - } - -} -- cgit v1.2.3-24-g4f1b