Skip to content

Commit

Permalink
Fix Phpspec tests
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Oct 30, 2023
1 parent b5d040a commit d74db52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Component/tests/spec/State/ProviderSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function it_throws_an_exception_when_configured_provider_is_not_a_provider_insta
$locator->has('\stdClass')->willReturn(true);
$locator->get('\stdClass')->willReturn(new \stdClass());

$this->shouldThrow(new \InvalidArgumentException('Expected an instance of Sylius\Component\Resource\State\ProviderInterface. Got: stdClass'))
$this->shouldThrow(new \InvalidArgumentException('Expected an instance of Sylius\Resource\State\ProviderInterface. Got: stdClass'))
->during('provide', [$operation, $context])
;
}
Expand Down

0 comments on commit d74db52

Please sign in to comment.