Skip to content

Commit ced3792

Browse files
Make these tests compatible with PHPUnit 4.8
1 parent ca58df3 commit ced3792

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Framework/AssertTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ public function testAssertArraySubset()
184184

185185
$arrayAccessData = new ArrayObject($array);
186186

187-
$this->assertArraySubset(['a' => 'item a', 'c' => ['a2' => 'item a2']], $arrayAccessData);
188-
$this->assertArraySubset(['a' => 'item a', 'd' => ['a2' => ['b3' => 'item b3']]], $arrayAccessData);
187+
$this->assertArraySubset(array('a' => 'item a', 'c' => array('a2' => 'item a2')), $arrayAccessData);
188+
$this->assertArraySubset(array('a' => 'item a', 'd' => array('a2' => array('b3' => 'item b3'))), $arrayAccessData);
189189

190190
try {
191191
$this->assertArraySubset(array('a' => 'bad value'), $array);

0 commit comments

Comments
 (0)