From: gggeek Date: Sat, 20 Jan 2018 14:42:30 +0000 (+0000) Subject: another attempt at fixing tests X-Git-Tag: 4.3.1~2 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=e6c41ed12d6edb6e1b0a446fbe80e4705f521b94 another attempt at fixing tests --- diff --git a/tests/1ParsingBugsTest.php b/tests/1ParsingBugsTest.php index 1e4b040..e4e9b5a 100644 --- a/tests/1ParsingBugsTest.php +++ b/tests/1ParsingBugsTest.php @@ -618,7 +618,7 @@ and there they were.postid7414222 $val) { - $this->assertContains($key, $out); + $this->assertArrayHasKey($key, $out); $expected = $out[$key]; if (gettype($expected['value']) == 'array') { $this->assertequals('array', gettype($val));