From ab79d1d057b5bc58e895dccdf0793270736c4afd Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst <thijs@kinkhorst.com> Date: Mon, 22 Aug 2022 14:51:06 +0000 Subject: [PATCH] Reduce line length --- tests/modules/saml/src/IdP/SAML2Test.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/modules/saml/src/IdP/SAML2Test.php b/tests/modules/saml/src/IdP/SAML2Test.php index c99f52203..3e2d11603 100644 --- a/tests/modules/saml/src/IdP/SAML2Test.php +++ b/tests/modules/saml/src/IdP/SAML2Test.php @@ -285,7 +285,8 @@ EOT; $this->assertIsArray($hostedMd['SingleSignOnService']); $this->assertCount(1, $hostedMd['SingleSignOnService']); $this->assertEquals(['Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', - 'Location' => 'http://localhost/simplesaml/module.php/saml/idp/singleSignOnService'], $hostedMd['SingleSignOnService'][0]); + 'Location' => 'http://localhost/simplesaml/module.php/saml/idp/singleSignOnService'], + $hostedMd['SingleSignOnService'][0]); $this->assertArrayHasKey('SingleLogoutService', $hostedMd); $this->assertIsArray($hostedMd['SingleLogoutService']); $this->assertCount(1, $hostedMd['SingleLogoutService']); @@ -382,7 +383,8 @@ EOT; $hostedMd['SingleSignOnService'][0] ); $this->assertEquals(['Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', - 'Location' => 'http://localhost/simplesaml/module.php/saml/idp/singleSignOnService'], $hostedMd['SingleSignOnService'][1]); + 'Location' => 'http://localhost/simplesaml/module.php/saml/idp/singleSignOnService'], + $hostedMd['SingleSignOnService'][1]); } public function testIdPGetHostedMetadataECP(): void @@ -394,9 +396,11 @@ EOT; $this->assertIsArray($hostedMd['SingleSignOnService']); $this->assertCount(2, $hostedMd['SingleSignOnService']); $this->assertEquals(['Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', - 'Location' => 'http://localhost/simplesaml/module.php/saml/idp/singleSignOnService'], $hostedMd['SingleSignOnService'][0]); + 'Location' => 'http://localhost/simplesaml/module.php/saml/idp/singleSignOnService'], + $hostedMd['SingleSignOnService'][0]); $this->assertEquals(['Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP', 'index' => 0, - 'Location' => 'http://localhost/simplesaml/module.php/saml/idp/singleSignOnService'], $hostedMd['SingleSignOnService'][1]); + 'Location' => 'http://localhost/simplesaml/module.php/saml/idp/singleSignOnService'], + $hostedMd['SingleSignOnService'][1]); } /** -- GitLab