diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-09 22:16:58 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-09 22:16:58 +0200 |
commit | c186288755aba46a2b6f0c3f104d9a6ce6b11a7f (patch) | |
tree | 1858ae3cb82693e30e2682b2d6e24aecfd959ff7 /tests/codeigniter/database/query_builder/get_test.php | |
parent | 99b782d8a3d92c4703a059cbd62e2f1e6fea689c (diff) |
Cleanup/optimize tests/codeigniter/
Diffstat (limited to 'tests/codeigniter/database/query_builder/get_test.php')
-rw-r--r-- | tests/codeigniter/database/query_builder/get_test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/codeigniter/database/query_builder/get_test.php b/tests/codeigniter/database/query_builder/get_test.php index 0751c9332..699d2906a 100644 --- a/tests/codeigniter/database/query_builder/get_test.php +++ b/tests/codeigniter/database/query_builder/get_test.php @@ -23,7 +23,7 @@ class Get_test extends CI_TestCase { public function test_get_simple() { $jobs = $this->db->get('job')->result_array(); - + // Dummy jobs contain 4 rows $this->assertCount(4, $jobs); @@ -42,12 +42,12 @@ class Get_test extends CI_TestCase { public function test_get_where() { $job1 = $this->db->get('job', array('id' => 1))->result_array(); - + // Dummy jobs contain 1 rows $this->assertCount(1, $job1); // Check rows item $this->assertEquals('Developer', $job1[0]['name']); } - + }
\ No newline at end of file |