over naar uuids, policies, predefined mutations aan kunnen passen
This commit is contained in:
@@ -15,7 +15,7 @@ test('authenticated participant can view another participant detail page in dyna
|
||||
|
||||
$this->actingAs($owner);
|
||||
|
||||
$response = $this->get(route('dynamics.users.show', [$dynamic->id, $participant->id]));
|
||||
$response = $this->get(route('dynamics.users.show', [$dynamic->uuid, $participant->uuid]));
|
||||
|
||||
$response->assertOk();
|
||||
$response->assertInertia(fn ($page) => $page
|
||||
@@ -40,7 +40,7 @@ test('non-participant cannot view participant detail page in dynamic', function
|
||||
|
||||
$this->actingAs($outsider);
|
||||
|
||||
$response = $this->get(route('dynamics.users.show', [$dynamic->id, $participant->id]));
|
||||
$response = $this->get(route('dynamics.users.show', [$dynamic->uuid, $participant->uuid]));
|
||||
|
||||
$response->assertStatus(403);
|
||||
});
|
||||
@@ -82,7 +82,7 @@ test('participant detail page displays their recent mutations in dynamic', funct
|
||||
|
||||
$this->actingAs($owner);
|
||||
|
||||
$response = $this->get(route('dynamics.users.show', [$dynamic->id, $participant->id]));
|
||||
$response = $this->get(route('dynamics.users.show', [$dynamic->uuid, $participant->uuid]));
|
||||
|
||||
$response->assertOk();
|
||||
$response->assertInertia(fn ($page) => $page
|
||||
|
||||
Reference in New Issue
Block a user