From 02a0518e1c56ba3506f370362ac5ebdb8a138312 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Sat, 13 Jan 2018 13:57:11 +0200 Subject: [ci skip] 3.1.7 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