We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df63014 commit 53fbc96Copy full SHA for 53fbc96
1 file changed
tests/functional/OpenConext/EngineBlockBundle/Controller/Api/ConnectionsControllerTest.php
@@ -426,8 +426,7 @@ public function pushing_idp_with_discovery_missing_english_name_returns_bad_requ
426
$this->assertJson($client->getResponse()->getContent());
427
$isContentTypeJson = $client->getResponse()->headers->contains('Content-Type', 'application/json');
428
$this->assertTrue($isContentTypeJson, 'Response should have Content-Type: application/json header');
429
- $message = json_decode($client->getResponse()->getContent());
430
- $this->assertStringContainsString('name_en', $message);
+ $this->assertStringContainsString('name_en', $client->getResponse()->getContent());
431
}
432
433
public static function invalidHttpMethodProvider()
0 commit comments