Commit 0361a67 Dominic Tubach
committed
1 parent 24ef2ed commit 0361a67 Copy full SHA for 0361a67
File tree 1 file changed +3
-2
lines changed
tests/phpunit/CRM/Remoteevent
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public function testCreateAnonymous()
81
81
/**
82
82
* Test RemoteParticipant.get_form context=cancel API anonymously
83
83
*/
84
- public function testCancel ()
84
+ public function testCancel (): void
85
85
{
86
86
// create an event
87
87
$ event = $ this ->createRemoteEvent ([
@@ -95,7 +95,8 @@ public function testCancel()
95
95
96
96
// check cancellation with default profile
97
97
$ fields = $ this ->traitCallAPISuccess ('RemoteParticipant ' , 'get_form ' , [
98
- 'context ' => 'cancel ' ,
98
+ 'context ' => 'cancel ' ,
99
+ 'remote_contact_id ' => $ this ->getRemoteContactKey ($ contact ['id ' ]),
99
100
'event_id ' => $ event ['id ' ],
100
101
])['values ' ];
101
102
$ this ->assertGetFormStandardFields ($ fields , true );
You can’t perform that action at this time.
0 commit comments