diff options
| author | Felipe Pena <felipe@php.net> | 2008-06-09 15:54:08 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2008-06-09 15:54:08 +0000 |
| commit | 9f2d50a88780f6e99989a0dc56acd04e78ef4b92 (patch) | |
| tree | f35706ab45f35602bf880b6be3789180e48257d0 /ext/soap | |
| parent | 3dc903400b2cfebc0bb727cbc6971650d6dfe101 (diff) | |
| download | php-git-9f2d50a88780f6e99989a0dc56acd04e78ef4b92.tar.gz | |
- Removed unnecessary SKIPIF (unicode/tests/*)
- Removed non-unicode tests (tests that uses SKIPIF like "die('skip unicode.semantics=on');")
Diffstat (limited to 'ext/soap')
| -rwxr-xr-x | ext/soap/tests/bugs/bug42488.phpt | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ext/soap/tests/bugs/bug42488.phpt b/ext/soap/tests/bugs/bug42488.phpt deleted file mode 100755 index 1b62f6f56d..0000000000 --- a/ext/soap/tests/bugs/bug42488.phpt +++ /dev/null @@ -1,23 +0,0 @@ ---TEST-- -Bug #42488 (SoapServer reports an encoding error and the error itself breaks) ---SKIPIF-- -<?php if (unicode_semantics()) die('skip unicode.semantics=on'); ?> -<?php require_once('skipif.inc'); ?> ---INI-- -soap.wsdl_cache_enabled=0 ---FILE-- -<?php -$request = <<<EOF -<?xml version="1.0" encoding="UTF-8"?> -<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="test:\" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:getBadUTF/></SOAP-ENV:Body></SOAP-ENV:Envelope> -EOF; -$soap = new SoapServer(NULL, array('uri'=>'test://')); -function getBadUTF(){ - return "stuff\x93thing"; -} -$soap->addFunction('getBadUTF'); -$soap->handle($request); -?> ---EXPECT-- -<?xml version="1.0" encoding="UTF-8"?> -<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>SOAP-ERROR: Encoding: string 'stuff\x93...' is not a valid utf-8 string</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
\ No newline at end of file |
