Replace reject with declined

This commit is contained in:
Marcus Moore
2025-06-05 17:24:57 -07:00
parent 7424a5987b
commit ae98f6276e
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ class CheckoutAcceptanceResponseMail extends Mailable
public function envelope(): Envelope
{
return new Envelope(
subject: 'A checkout you initiated was ' . ($this->wasAccepted ? 'accepted' : 'rejected'),
subject: 'A checkout you initiated was ' . ($this->wasAccepted ? 'accepted' : 'declined'),
);
}

View File

@@ -42,7 +42,7 @@ class CheckoutResponseEmailTest extends TestCase
$this->declineCheckout($checkoutAcceptance);
$this->assertEmailSentTo($initiator, 'rejected');
$this->assertEmailSentTo($initiator, 'declined');
}
public function test_accepting_checkout_acceptance_not_configured_to_send_alert()
@@ -100,7 +100,7 @@ class CheckoutResponseEmailTest extends TestCase
{
$this->actingAs($checkoutAcceptance->assignedTo)
->post(route('account.store-acceptance', $checkoutAcceptance), [
'asset_acceptance' => 'rejected',
'asset_acceptance' => 'declined',
'note' => null,
]);
}