From e6c41ed12d6edb6e1b0a446fbe80e4705f521b94 Mon Sep 17 00:00:00 2001 From: gggeek Date: Sat, 20 Jan 2018 14:42:30 +0000 Subject: [PATCH] another attempt at fixing tests --- tests/1ParsingBugsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.43.0