diff options
Diffstat (limited to 'tests/codeigniter')
-rw-r--r-- | tests/codeigniter/helpers/date_helper_test.php | 1 | ||||
-rw-r--r-- | tests/codeigniter/helpers/file_helper_test.php | 2 | ||||
-rw-r--r-- | tests/codeigniter/helpers/html_helper_test.php | 1 | ||||
-rw-r--r-- | tests/codeigniter/helpers/path_helper_test.php | 1 | ||||
-rw-r--r-- | tests/codeigniter/libraries/Driver_test.php | 3 | ||||
-rw-r--r-- | tests/codeigniter/libraries/Encrypt_test.php | 1 | ||||
-rw-r--r-- | tests/codeigniter/libraries/Session_test.php | 4 |
7 files changed, 7 insertions, 6 deletions
diff --git a/tests/codeigniter/helpers/date_helper_test.php b/tests/codeigniter/helpers/date_helper_test.php index 1458acd3e..0f16e6c49 100644 --- a/tests/codeigniter/helpers/date_helper_test.php +++ b/tests/codeigniter/helpers/date_helper_test.php @@ -5,7 +5,6 @@ class Date_helper_test extends CI_TestCase { public function set_up() { $this->helper('date'); - $this->time = time(); } diff --git a/tests/codeigniter/helpers/file_helper_test.php b/tests/codeigniter/helpers/file_helper_test.php index 9b03da9d7..3a6c73a5c 100644 --- a/tests/codeigniter/helpers/file_helper_test.php +++ b/tests/codeigniter/helpers/file_helper_test.php @@ -148,6 +148,4 @@ class File_helper_Test extends CI_TestCase { // // } - // -------------------------------------------------------------------- - }
\ No newline at end of file diff --git a/tests/codeigniter/helpers/html_helper_test.php b/tests/codeigniter/helpers/html_helper_test.php index 4dd717ff7..d66ad895c 100644 --- a/tests/codeigniter/helpers/html_helper_test.php +++ b/tests/codeigniter/helpers/html_helper_test.php @@ -88,4 +88,5 @@ EOH; $this->assertEquals($expect, meta(array('name' => 'foo'))); } + }
\ No newline at end of file diff --git a/tests/codeigniter/helpers/path_helper_test.php b/tests/codeigniter/helpers/path_helper_test.php index 0faf6f383..d25c3ed9b 100644 --- a/tests/codeigniter/helpers/path_helper_test.php +++ b/tests/codeigniter/helpers/path_helper_test.php @@ -26,6 +26,7 @@ class Path_helper_test extends CI_TestCase { set_realpath('/path/to/nowhere', TRUE); } + } /* End of file path_helper_test.php */
\ No newline at end of file diff --git a/tests/codeigniter/libraries/Driver_test.php b/tests/codeigniter/libraries/Driver_test.php index fb5f3f020..d98e8ab98 100644 --- a/tests/codeigniter/libraries/Driver_test.php +++ b/tests/codeigniter/libraries/Driver_test.php @@ -173,4 +173,5 @@ class Driver_test extends CI_TestCase { // Can we call the parent method? $this->assertEquals($return, $child->$method()); } -} + +}
\ No newline at end of file diff --git a/tests/codeigniter/libraries/Encrypt_test.php b/tests/codeigniter/libraries/Encrypt_test.php index 21ac85f03..a08db8ed0 100644 --- a/tests/codeigniter/libraries/Encrypt_test.php +++ b/tests/codeigniter/libraries/Encrypt_test.php @@ -51,7 +51,6 @@ class Encrypt_test extends CI_TestCase { // -------------------------------------------------------------------- - public function test_set_cipher() { if ( ! $this->mcrypt) diff --git a/tests/codeigniter/libraries/Session_test.php b/tests/codeigniter/libraries/Session_test.php index 7ef3a3667..6edda99d7 100644 --- a/tests/codeigniter/libraries/Session_test.php +++ b/tests/codeigniter/libraries/Session_test.php @@ -4,6 +4,7 @@ * Session driver library unit test */ class Session_test extends CI_TestCase { + protected $settings = array( 'use_cookies' => 0, 'use_only_cookies' => 0, @@ -421,4 +422,5 @@ class Session_test extends CI_TestCase { $this->session->native->sess_destroy(); $this->assertNull($this->session->native->userdata($key)); } -} + +}
\ No newline at end of file |