From d2d4045e617d6b935a25e5a260c5e38a2e93de08 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Thu, 16 Nov 2023 20:25:52 +0100 Subject: [PATCH] Fix tests for authlib-injector endpoints --- api/tests/functional/authlibInjector/JoinCest.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/api/tests/functional/authlibInjector/JoinCest.php b/api/tests/functional/authlibInjector/JoinCest.php index 5ae8d8f..e43ec59 100644 --- a/api/tests/functional/authlibInjector/JoinCest.php +++ b/api/tests/functional/authlibInjector/JoinCest.php @@ -137,11 +137,8 @@ class JoinCest { } private function expectSuccessResponse(FunctionalTester $I) { - $I->seeResponseCodeIs(200); - $I->seeResponseIsJson(); - $I->canSeeResponseContainsJson([ - 'id' => 'OK', - ]); + $I->seeResponseCodeIs(204); + $I->canSeeResponseEquals(''); } }