summaryrefslogtreecommitdiff
path: root/ext/soap/tests/schema/schema068.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/soap/tests/schema/schema068.phpt')
-rw-r--r--ext/soap/tests/schema/schema068.phpt18
1 files changed, 0 insertions, 18 deletions
diff --git a/ext/soap/tests/schema/schema068.phpt b/ext/soap/tests/schema/schema068.phpt
deleted file mode 100644
index 88fdac334f..0000000000
--- a/ext/soap/tests/schema/schema068.phpt
+++ /dev/null
@@ -1,18 +0,0 @@
---TEST--
-SOAP XML Schema 68: Attribute with fixed value (3)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-include "test_schema.inc";
-$schema = <<<EOF
- <complexType name="testType">
- <attribute name="str" type="string"/>
- <attribute name="int" type="int" fixed="5"/>
- </complexType>
-EOF;
-test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>4));
-echo "ok";
-?>
---EXPECTF--
-Fatal error: SOAP-ERROR: Encoding: Attribute 'int' has fixed value '5' (value '4' is not allowed) in %stest_schema.inc on line %d \ No newline at end of file