Skip to content

Commit

Permalink
OP-547: Spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jkindly committed Sep 25, 2024
1 parent b0c2a4f commit 861901c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function it_process_successfully(
$resourceControllerEvent->getSubject()->willReturn($customer);
$customer->getUser()->willReturn($shopUser);
$customer->getAgreements()->willReturn($userAgreements);
$userAgreements->isEmpty()->willReturn(false);
$userAgreements->first()->willReturn($agreement);
$agreement->getContexts()->willReturn(['registration_form']);

Expand Down

0 comments on commit 861901c

Please sign in to comment.