Skip to content

Commit 7e88dbf

Browse files
committed
Fixed test
1 parent 82a78e7 commit 7e88dbf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/MapTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,6 +1344,7 @@ public function testGetArray()
13441344

13451345
$class = new \ReflectionClass( $map );
13461346
$method = $class->getMethod( 'array' );
1347+
$method->setAccessible( true );
13471348
$items = new \ArrayIterator( ['foo' => 'bar'] );
13481349
$array = $method->invokeArgs( $map, [$items] );
13491350
$this->assertSame( ['foo' => 'bar'], $array );

0 commit comments

Comments
 (0)