Skip to content

Commit

Permalink
Add Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kalianko committed Oct 16, 2024
1 parent b8a386b commit 14013fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Endpoint/BatchSendingEndpointTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ public function testCRUD(): void
self::assertLastRequest('DELETE', "/api/batch-sendings/foo");
}

public function testSend(): void
{
self::endpoint()->send('foo');
self::assertLastRequest('POST', "/api/batch-sendings/foo/send");
}

protected static function endpoint(): BatchSendingsEndpoint
{
return self::dgs()->batchSendings();
Expand Down

0 comments on commit 14013fc

Please sign in to comment.