diff options
author | Andrey Andreev <narf@devilix.net> | 2017-12-20 18:57:39 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2017-12-20 19:02:17 +0100 |
commit | 20d9b0a9c03955da0010a3df91adcd9b8e6e7d58 (patch) | |
tree | 40a405d18778612b0c124a26036af77ec558e4c9 /tests/codeigniter/database/query_builder/limit_test.php | |
parent | 9e2dcd4a6a70a997d8d741e8f113660f16b9a609 (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/database/query_builder/limit_test.php')
-rw-r--r-- | tests/codeigniter/database/query_builder/limit_test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/codeigniter/database/query_builder/limit_test.php b/tests/codeigniter/database/query_builder/limit_test.php index a0954c7ab..a1976d457 100644 --- a/tests/codeigniter/database/query_builder/limit_test.php +++ b/tests/codeigniter/database/query_builder/limit_test.php @@ -26,7 +26,7 @@ class Limit_test extends CI_TestCase { ->get('job') ->result_array(); - $this->assertEquals(2, count($jobs)); + $this->assertCount(2, $jobs); } // ------------------------------------------------------------------------ @@ -40,9 +40,9 @@ class Limit_test extends CI_TestCase { ->get('job') ->result_array(); - $this->assertEquals(2, count($jobs)); + $this->assertCount(2, $jobs); $this->assertEquals('Accountant', $jobs[0]['name']); $this->assertEquals('Musician', $jobs[1]['name']); } -}
\ No newline at end of file +} |