Skip to content

Commit

Permalink
Update Codeception #5827 (#7542)
Browse files Browse the repository at this point in the history
* Update Codeception #5827

* Update Codeception #5827

* Update Codeception #5827

* Update Codeception #5827
  • Loading branch information
weisswurstkanone committed Nov 17, 2020
1 parent 0d7f461 commit c0ca10f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@
},
"require-dev": {
"cache/integration-tests": "^0.16.0",
"codeception/codeception": "~2.4.5",
"codeception/codeception": "^4.1.12",
"codeception/module-symfony": "^1",
"phpstan/phpstan": "^0.12.53",
"phpstan/phpstan-symfony": "^0.12.11",
"phpunit/phpunit": "^7.5",
Expand Down
5 changes: 3 additions & 2 deletions tests/_support/Helper/DataType/TestDataHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -1187,8 +1187,9 @@ public function assertObjectsWithMetadata(Concrete $object, $field, Concrete $co
*/
protected function assertObjectMetadataEqual($expected, $value)
{
$this->assertInternalType('array', $expected);
$this->assertInternalType('array', $value);
// see https://github.com/sebastianbergmann/phpunit/commit/50ad7e1c4e74dce3beff17bf9c9f5a458cbe9958
$this->assertTrue(is_array($expected), "expected an array");
$this->assertTrue(is_array($value), "expected an array");

$this->assertCount(count($expected), $value);

Expand Down

0 comments on commit c0ca10f

Please sign in to comment.