diff --git a/tests/Endpoint/BatchSendingEndpointTest.php b/tests/Endpoint/BatchSendingEndpointTest.php index 6e98b8c..74dddeb 100644 --- a/tests/Endpoint/BatchSendingEndpointTest.php +++ b/tests/Endpoint/BatchSendingEndpointTest.php @@ -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();