summaryrefslogtreecommitdiffstats
path: root/bindings/php5
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-03-02 11:58:05 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-03-02 11:58:05 +0000
commit8f7e9b51674f8b77081adbe17e605b07188e5f76 (patch)
tree1edb7220ffedce52efa7ed3dbb17c7e2fbd4a0b1 /bindings/php5
parent0ff7329ad21fa96c3111a70806babd76edd00e6d (diff)
downloadlasso-8f7e9b51674f8b77081adbe17e605b07188e5f76.tar.gz
lasso-8f7e9b51674f8b77081adbe17e605b07188e5f76.tar.xz
lasso-8f7e9b51674f8b77081adbe17e605b07188e5f76.zip
Binding PHP5 tests: fix assertion dump test
Diffstat (limited to 'bindings/php5')
-rwxr-xr-xbindings/php5/tests/binding_tests.php18
1 files changed, 1 insertions, 17 deletions
diff --git a/bindings/php5/tests/binding_tests.php b/bindings/php5/tests/binding_tests.php
index e7b89abf..ff9d05e6 100755
--- a/bindings/php5/tests/binding_tests.php
+++ b/bindings/php5/tests/binding_tests.php
@@ -148,23 +148,7 @@ function test06() {
$attribute2_string = "second string";
$attribute3_string = "third string";
- $expected_assertion_dump = '<saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" SignType="0" SignMethod="0" EncryptionActivated="false" EncryptionSymKeyType="0">
- <saml:AttributeStatement>
- <saml:Attribute Name="first attribute">
- <saml:AttributeValue>
- <XXX>first string</XXX>
- </saml:AttributeValue>
- </saml:Attribute>
- <saml:Attribute Name="second attribute">
- <saml:AttributeValue>
- <XXX>second string</XXX>
- </saml:AttributeValue>
- <saml:AttributeValue>
- <XXX>third string</XXX>
- </saml:AttributeValue>
- </saml:Attribute>
- </saml:AttributeStatement>
-</saml:Assertion>';
+ $expected_assertion_dump = '<saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" SignType="0" SignMethod="0" EncryptionActivated="false" EncryptionSymKeyType="0"><saml:AttributeStatement><saml:Attribute Name="first attribute"><saml:AttributeValue><XXX>first string</XXX></saml:AttributeValue></saml:Attribute><saml:Attribute Name="second attribute"><saml:AttributeValue><XXX>second string</XXX></saml:AttributeValue><saml:AttributeValue><XXX>third string</XXX></saml:AttributeValue></saml:Attribute></saml:AttributeStatement></saml:Assertion>';
$text_node1 = new LassoMiscTextNode();
$text_node1->content = $attribute1_string;