diff --git a/src/Sender/Frontend/Service.php b/src/Sender/Frontend/Service.php index 61759e20..625a8698 100644 --- a/src/Sender/Frontend/Service.php +++ b/src/Sender/Frontend/Service.php @@ -36,7 +36,7 @@ public function version(): Version #[ AssertSuccess(Method::Delete, 'api/event/0145a0e0-0b1a-4e4a-9b1a', ['uuid' => '0145a0e0-0b1a-4e4a-9b1a']), AssertFail(Method::Delete, 'api/event/foo-bar-baz'), - AssertFail(Method::Delete, 'api/event/') + AssertFail(Method::Delete, 'api/event/'), ] public function eventDelete(string $uuid): Success { @@ -49,7 +49,7 @@ public function eventDelete(string $uuid): Success #[ AssertSuccess(Method::Get, 'api/event/0145a0e0-0b1a-4e4a-9b1a', ['uuid' => '0145a0e0-0b1a-4e4a-9b1a']), AssertFail(Method::Get, 'api/event/foo-bar-baz'), - AssertFail(Method::Get, 'api/event/') + AssertFail(Method::Get, 'api/event/'), ] public function eventShow(string $uuid): Event|Success { @@ -61,7 +61,8 @@ public function eventShow(string $uuid): Event|Success #[StaticRoute(Method::Delete, 'api/events')] #[ AssertFail(Method::Delete, '/api/events'), - AssertFail(Method::Delete, 'api/events/') + AssertFail(Method::Delete, 'api/events/'), + AssertFail(Method::Delete, 'api/event'), ] public function eventsDelete(array $uuids = []): Success { @@ -86,8 +87,9 @@ public function eventsDelete(array $uuids = []): Success #[StaticRoute(Method::Get, 'api/events')] #[ + AssertFail(Method::Get, 'api/event'), AssertFail(Method::Post, 'api/events'), - AssertFail(Method::Get, '/api/events') + AssertFail(Method::Get, '/api/events'), ] public function eventsList(): EventCollection {