We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b7cad8 commit cf80496Copy full SHA for cf80496
tests/src/OneLogin/Saml2/ResponseTest.php
@@ -1178,8 +1178,8 @@ public function testIsValidSignWithEmptyReferenceURI()
1178
$settings = new OneLogin_Saml2_Settings($settingsInfo);
1179
$response = new OneLogin_Saml2_Response($settings, $xml);
1180
$this->assertTrue($response->isValid());
1181
- $this->assertTrue(!empty($response->getAttributes()));
1182
$attributes = $response->getAttributes();
+ $this->assertTrue(!empty($attributes));
1183
$this->assertEquals('[email protected]', $attributes['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'][0]);
1184
}
1185
0 commit comments