Skip to content

Commit ce2bdaf

Browse files
WorksDevusox
authored andcommitted
#1 Fix HashMap- TestCase
1 parent 99cb99b commit ce2bdaf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Struct/Generic/HashMapTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public function testGetItemsCanReturnArray()
3737
public function testSetItemsCanSetArrayOfHashMapItem()
3838
{
3939
$hashMapItems = [
40-
$this->getMockBuilder(HashMapItemInterface::class),
41-
$this->getMockBuilder(HashMapItemInterface::class),
42-
$this->getMockBuilder(HashMapItemInterface::class),
40+
$this->getMockBuilder(HashMapItemInterface::class)->getMock(),
41+
$this->getMockBuilder(HashMapItemInterface::class)->getMock(),
42+
$this->getMockBuilder(HashMapItemInterface::class)->getMock(),
4343
];
4444

4545
$this->assertContainsOnlyInstancesOf(

0 commit comments

Comments
 (0)