Skip to content

Commit

Permalink
Fix RestApiMemberTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Schaer committed Nov 18, 2024
1 parent 158fc93 commit f0fe203
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/Feature/Http/Controllers/RestApi/RestApiMemberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,9 @@ public function testPostMatch_200_match_apostrophe()
],
'lastName' => [
'value' => $member->lastName->getValue(),
],
'email1' => [
'value' => $member->email1->getValue(),
]
];

Expand All @@ -1167,6 +1170,9 @@ public function testPostMatch_200_match_ampersand()
],
'lastName' => [
'value' => $member->lastName->getValue(),
],
'email1' => [
'value' => $member->email1->getValue(),
]
];

Expand All @@ -1182,14 +1188,18 @@ public function testPostMatch_200_match_ampersand()
public function testPostMatch_200_ambiguous()
{
$member = $this->getMember(__METHOD__);

$member->address1->setValue("Rue de l'Annonciade 22");

$m = [
'firstName' => [
'value' => $member->firstName->getValue(),
],
'lastName' => [
'value' => $member->lastName->getValue(),
],
'address1' => [
'value' => $member->address1->getValue(),
]
];

// precondition: assert we dont have any records with the same name
Expand Down

0 comments on commit f0fe203

Please sign in to comment.