diff options
author | ctrlaltca <ctrlaltca@gmail.com> | 2016-04-04 18:31:02 +0200 |
---|---|---|
committer | ctrlaltca <ctrlaltca@gmail.com> | 2016-04-04 18:31:02 +0200 |
commit | 7e255537404cb6ceb5465589c87897781358bc59 (patch) | |
tree | c6655e104b4be4ced6acaf914c2eee87452d3c4c /tests/unit | |
parent | 0ec0d073c120a2db371dfd4cd6f2a81fd9068676 (diff) | |
parent | ba0b0923f7520d6cd35373679aed963d1318074a (diff) |
Merge pull request #578 from pradosoft/scrutinizer
Misc code fixes suggested by Scrutinizer
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/Data/ActiveRecord/ActiveRecordDynamicCallTest.php | 1 | ||||
-rw-r--r-- | tests/unit/Web/THttpRequestTest.php | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/Data/ActiveRecord/ActiveRecordDynamicCallTest.php b/tests/unit/Data/ActiveRecord/ActiveRecordDynamicCallTest.php index 8c6b9789..a472e546 100644 --- a/tests/unit/Data/ActiveRecord/ActiveRecordDynamicCallTest.php +++ b/tests/unit/Data/ActiveRecord/ActiveRecordDynamicCallTest.php @@ -74,6 +74,5 @@ class ActiveRecordDynamicCallTest extends PHPUnit_Framework_TestCase function assertDeleteSql($sender, $param) { - var_dump($param); } } diff --git a/tests/unit/Web/THttpRequestTest.php b/tests/unit/Web/THttpRequestTest.php index 314cce0a..a4e679d8 100644 --- a/tests/unit/Web/THttpRequestTest.php +++ b/tests/unit/Web/THttpRequestTest.php @@ -328,7 +328,7 @@ class THttpRequestTest extends PHPUnit_Framework_TestCase { public function testGetIterator() { $request = new THttpRequest (); $request->init(null); - self::assertInstanceOf ('TMapIterator', $request->getIterator()); + self::assertInstanceOf ('ArrayIterator', $request->getIterator()); } public function testGetCount() { |