Skip to content

Commit 2e821e2

Browse files
committed
add tests for base64Binary node
1 parent 4dbcd36 commit 2e821e2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ext/soap/tests/scalar_error_messages.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ function run_case(string $label, string $type, string $value): void {
4444

4545
run_case('double', 'xsd:double', 'abc');
4646
run_case('long', 'xsd:long', 'abc');
47+
run_case('base64Binary node', 'xsd:base64Binary', '<value>abc</value>');
4748
?>
4849
--EXPECT--
4950
double: SOAP-ERROR: Encoding: Invalid value for type 'double'
5051
long: SOAP-ERROR: Encoding: Invalid value for type 'long'
52+
base64Binary node: SOAP-ERROR: Encoding: Type 'base64Binary' value must contain a single text or CDATA node

0 commit comments

Comments
 (0)