fill id with uuid everywhere

This commit is contained in:
Daan Meijer
2026-06-23 17:17:47 +02:00
parent e7481eac95
commit ae925c7173
7 changed files with 36 additions and 8 deletions
+3 -3
View File
@@ -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)
);
});