feat: rename finalize methods to complete for consistency in purchase processing

This commit is contained in:
2026-07-07 15:36:07 -03:00
parent c276ccd311
commit f18fbc8147
5 changed files with 6 additions and 6 deletions

View File

@@ -148,7 +148,7 @@ class StorePurchaseTest extends TestCase
]);
$this->actingAs($user, 'sanctum')
->postJson("/api/tenants/sonder/compras/{$purchaseId}/finalize")
->postJson("/api/tenants/sonder/compras/{$purchaseId}/complete")
->assertOk()
->assertJsonPath('data.status', Purchase::STATUS_PENDING_PAYMENT);