mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Fix not working phpspec
This commit is contained in:
parent
fba3f4b87f
commit
8d3c323fe9
1 changed files with 3 additions and 3 deletions
|
|
@ -83,9 +83,9 @@ final class TwigComponentBlockRendererSpec extends ObjectBehavior
|
|||
|
||||
$contextProvider->provide([], $componentBlock)->willReturn($context);
|
||||
|
||||
$expressionLanguage->evaluate('foo', $context)->willReturn('bar');
|
||||
$expressionLanguage->evaluate('bar', $context)->willReturn('baz');
|
||||
$expressionLanguage->evaluate('baz', $context)->willReturn('qux');
|
||||
$expressionLanguage->evaluate('foo', ['context' => $context])->willReturn('bar');
|
||||
$expressionLanguage->evaluate('bar', ['context' => $context])->willReturn('baz');
|
||||
$expressionLanguage->evaluate('baz', ['context' => $context])->willReturn('qux');
|
||||
|
||||
$componentRenderer
|
||||
->createAndRender('Component', [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue