diff options
author | Gabriel Caruso <carusogabriel34@gmail.com> | 2017-12-08 20:25:02 +0100 |
---|---|---|
committer | Gabriel Caruso <carusogabriel34@gmail.com> | 2017-12-20 17:43:45 +0100 |
commit | dfa52f3ed31696c58fdc85273f4408559233b19e (patch) | |
tree | 63ca4ac93f9fd6f3afe5a91ef25701391ec9e593 /tests/codeigniter/core/Common_test.php | |
parent | 3ecfcaa94bbae55fec8c2c9bbf8524c49816342f (diff) |
Refactoring tests
Diffstat (limited to 'tests/codeigniter/core/Common_test.php')
-rw-r--r-- | tests/codeigniter/core/Common_test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/codeigniter/core/Common_test.php b/tests/codeigniter/core/Common_test.php index ca19e5de0..effae50c5 100644 --- a/tests/codeigniter/core/Common_test.php +++ b/tests/codeigniter/core/Common_test.php @@ -4,8 +4,8 @@ class Common_test extends CI_TestCase { public function test_is_php() { - $this->assertEquals(TRUE, is_php('1.2.0')); - $this->assertEquals(FALSE, is_php('9999.9.9')); + $this->assertTrue(is_php('1.2.0')); + $this->assertFalse(is_php('9999.9.9')); } // ------------------------------------------------------------------------ @@ -66,4 +66,4 @@ class Common_test extends CI_TestCase { $removed_string = 'Here is a string containing url_encoded invisible text.'; $this->assertEquals($removed_string, remove_invisible_characters($raw_string)); } -}
\ No newline at end of file +} |