@@ -24,10 +24,10 @@ use URN::OASIS::SAML2 qw(:bindings :urn);
2424 my $node
2525 = get_single_node_ok($xpath ,
2626 ' //md:EntityDescriptor/md:SPSSODescriptor' );
27- ok(! $node -> getAttribute(' WantAssertionsSigned' ),
27+ is( $node -> getAttribute(' WantAssertionsSigned' ), ' false ' ,
2828 ' Wants assertions to be signed' );
29- ok (
30- ! $node -> getAttribute(' AuthnRequestsSigned' ),
29+ is (
30+ $node -> getAttribute(' AuthnRequestsSigned' ), ' false ' ,
3131 ' .. and also authn requests to be signed'
3232 );
3333
@@ -165,9 +165,9 @@ use URN::OASIS::SAML2 qw(:bindings :urn);
165165 # Test SPSSODescriptor
166166 my $node = get_single_node_ok($xpath , ' /node()/md:SPSSODescriptor' );
167167 is($node -> getAttribute(' AuthnRequestsSigned' ),
168- ' 1 ' , ' .. and authn request needs signing' );
168+ ' true ' , ' .. and authn request needs signing' );
169169 is($node -> getAttribute(' WantAssertionsSigned' ),
170- ' 1 ' , ' .. as does assertions' );
170+ ' true ' , ' .. as does assertions' );
171171 is($node -> getAttribute(' errorURL' ),
172172 ' http://localhost:3000/error' , ' Got the correct error URI' );
173173 is(
0 commit comments