@@ -81,7 +81,7 @@ class InterestSubmissionTest extends TestCase
|
||||
DB::statement('CREATE TRIGGER test_reject_outbox BEFORE INSERT ON outbox_events FOR EACH ROW EXECUTE FUNCTION investmoz_reject_audit_change()');
|
||||
config(['portal.notifications_enabled' => true, 'portal.notification_recipients' => ['team@example.invalid']]);
|
||||
$headers = ['Idempotency-Key' => (string) Str::uuid()];
|
||||
$this->postJson('/api/v1/interest-requests', $this->payload(), $headers)->assertStatus(500);
|
||||
$this->postJson('/api/v1/interest-requests', $this->payload(), $headers)->assertStatus(503)->assertHeader('Cache-Control', 'no-store, private');
|
||||
$this->assertDatabaseCount('interest_requests', 0);
|
||||
$this->assertDatabaseCount('interest_submission_receipts', 0);
|
||||
$this->assertDatabaseCount('jobs', 0);
|
||||
|
||||
Reference in New Issue
Block a user