Skip to content

Commit

Permalink
Fix ThemeAwareTranslatorSpec test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed May 8, 2024
1 parent 9f788ef commit 2ae84fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/Translation/ThemeAwareTranslatorSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function it_does_not_warm_up_if_decorated_translator_is_not_warmable(): void

function it_warms_up_if_decorated_translator_is_warmable(WarmableInterface $translator): void
{
$translator->warmUp('cache')->shouldBeCalled();
$translator->warmUp('cache')->shouldBeCalled()->willReturn([]);

$this->warmUp('cache');
}
Expand Down

0 comments on commit 2ae84fb

Please sign in to comment.