fill id with uuid everywhere
This commit is contained in:
@@ -25,8 +25,8 @@ test('owner can view predefined mutations for ledger', function () {
|
||||
$response->assertOk();
|
||||
$response->assertInertia(fn ($page) => $page
|
||||
->component('Ledgers/PredefinedMutations/Index')
|
||||
->where('dynamic.id', $dynamic->id)
|
||||
->where('ledger.id', $ledger->id)
|
||||
->where('dynamic.id', $dynamic->uuid)
|
||||
->where('ledger.id', $ledger->uuid)
|
||||
->has('predefined_mutations', 1)
|
||||
->where('predefined_mutations.0.name', 'Weekly Room Cleaning')
|
||||
);
|
||||
@@ -112,7 +112,7 @@ test('owner can view edit form for predefined mutation', function () {
|
||||
$response->assertOk();
|
||||
$response->assertInertia(fn ($page) => $page
|
||||
->component('Ledgers/PredefinedMutations/Edit')
|
||||
->where('predefined_mutation.id', $predefined->id)
|
||||
->where('predefined_mutation.id', $predefined->uuid)
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user