feat: Implement chat pagination, participant single page with mutations, and fix user link substitutions
This commit is contained in:
@@ -19,7 +19,7 @@ test('authenticated participant can view another participant detail page in dyna
|
||||
|
||||
$response->assertOk();
|
||||
$response->assertInertia(fn ($page) => $page
|
||||
->component('Participants/Show')
|
||||
->component('Dynamics/Participants/Show')
|
||||
->has('dynamic')
|
||||
->where('participant.id', $participant->id)
|
||||
->where('participant.name', $participant->name)
|
||||
@@ -86,7 +86,7 @@ test('participant detail page displays their recent mutations in dynamic', funct
|
||||
|
||||
$response->assertOk();
|
||||
$response->assertInertia(fn ($page) => $page
|
||||
->component('Participants/Show')
|
||||
->component('Dynamics/Participants/Show')
|
||||
->where('participant.display_name', 'Bitch')
|
||||
->has('mutations', 2)
|
||||
->where('mutations.0.description', 'Infraction 1') // Ordered latest first
|
||||
|
||||
Reference in New Issue
Block a user