Skip to content

Commit

Permalink
API doesn't require that the POST /email accept an id value
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Apr 5, 2024
1 parent ee50a71 commit d527cf5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions application/tests/api/EmailCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public function testQueue_AllFields(ApiTester $I)
$I->wantTo('queue an email with all fields');
$I->haveHttpHeader('Authorization', 'Bearer abc123');
$I->sendPOST('/email', [
'id' => 123,
'to_address' => '[email protected]',
'cc_address' => '[email protected]',
'bcc_address' => '[email protected]',
Expand All @@ -77,7 +76,6 @@ public function testQueue_AllFields(ApiTester $I)
'send_after' => 1556314645,
]);
$I->seeResponseCodeIs(200);
$I->dontSeeResponseContains('123');
$I->dontSeeResponseContains('456');
$I->dontSeeResponseContains('11111111');
$I->dontSeeResponseContains('22222222');
Expand Down

0 comments on commit d527cf5

Please sign in to comment.