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/core/Input_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/core/Input_test.php')
-rw-r--r-- | tests/codeigniter/core/Input_test.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/codeigniter/core/Input_test.php b/tests/codeigniter/core/Input_test.php index e1f4011b5..976941d41 100644 --- a/tests/codeigniter/core/Input_test.php +++ b/tests/codeigniter/core/Input_test.php @@ -24,8 +24,8 @@ class Input_test extends CI_TestCase { public function test_get_not_exists() { - $this->assertTrue($this->input->get() === array()); - $this->assertTrue($this->input->get('foo') === NULL); + $this->assertSame(array(), $this->input->get()); + $this->assertNull($this->input->get('foo')); } // -------------------------------------------------------------------- @@ -55,8 +55,8 @@ class Input_test extends CI_TestCase { public function test_post_not_exists() { - $this->assertTrue($this->input->post() === array()); - $this->assertTrue($this->input->post('foo') === NULL); + $this->assertSame(array(), $this->input->post()); + $this->assertNull($this->input->post('foo')); } // -------------------------------------------------------------------- |