over naar uuids, policies, predefined mutations aan kunnen passen
This commit is contained in:
@@ -29,7 +29,7 @@ test('participant can update their display name', function () {
|
||||
|
||||
$this->actingAs($user);
|
||||
|
||||
$response = $this->put(route('dynamics.participant.update', $dynamic->id), [
|
||||
$response = $this->put(route('dynamics.participant.update', $dynamic->uuid), [
|
||||
'display_name' => 'Ally',
|
||||
]);
|
||||
|
||||
@@ -53,7 +53,7 @@ test('display name update requires display_name parameter', function () {
|
||||
|
||||
$this->actingAs($user);
|
||||
|
||||
$response = $this->put(route('dynamics.participant.update', $dynamic->id), [
|
||||
$response = $this->put(route('dynamics.participant.update', $dynamic->uuid), [
|
||||
'display_name' => '',
|
||||
]);
|
||||
|
||||
@@ -68,7 +68,7 @@ test('non participant cannot update display name', function () {
|
||||
|
||||
$this->actingAs($nonParticipant);
|
||||
|
||||
$response = $this->put(route('dynamics.participant.update', $dynamic->id), [
|
||||
$response = $this->put(route('dynamics.participant.update', $dynamic->uuid), [
|
||||
'display_name' => 'Bobby',
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user