summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core/Common_test.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-12-20 18:57:39 +0100
committerAndrey Andreev <narf@devilix.net>2017-12-20 19:02:17 +0100
commit20d9b0a9c03955da0010a3df91adcd9b8e6e7d58 (patch)
tree40a405d18778612b0c124a26036af77ec558e4c9 /tests/codeigniter/core/Common_test.php
parent9e2dcd4a6a70a997d8d741e8f113660f16b9a609 (diff)
Merge pull request #5354 from carusogabriel/refactoring-tests
Refactoring tests Conflicts resolved: tests/codeigniter/core/Utf8_test.php tests/codeigniter/database/query_builder/group_test.php tests/codeigniter/libraries/Form_validation_test.php
Diffstat (limited to 'tests/codeigniter/core/Common_test.php')
-rw-r--r--tests/codeigniter/core/Common_test.php6
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
+}