Skip to content

Commit

Permalink
Fix test of ArrayAccessProvider to avoid using Pimple
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Aug 22, 2017
1 parent 64c2a4c commit 1f911a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Knp/Menu/Tests/Renderer/ArrayAccessProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function testHas()

public function testGetExistentRenderer()
{
$registry = new \Pimple();
$registry = new \ArrayObject();
$renderer = $this->getMockBuilder('Knp\Menu\Renderer\RendererInterface')->getMock();
$registry['renderer'] = $renderer;
$provider = new ArrayAccessProvider($registry, 'default', array('default' => 'renderer'));
Expand Down

0 comments on commit 1f911a9

Please sign in to comment.