Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed test failing since PHP>=5.4

noted in #3110 (which added the test)
  • Loading branch information...
commit 2fa7578a71bd7d9e491c1f60ac6c9a38a851eb14 1 parent 4a3fdaa
Marc Bennewitz authored
Showing with 0 additions and 16 deletions.
  1. +0 −16 tests/ZendTest/Stdlib/StringWrapper/CommonStringWrapperTest.php
View
16 tests/ZendTest/Stdlib/StringWrapper/CommonStringWrapperTest.php
@@ -135,22 +135,6 @@ public function testConvert($encoding, $convertEncoding, $str, $expected)
$this->assertSame($str, $result);
}
- public function testConvertDontSubstringsOnInvalidCharacter()
- {
- $wrapper = $this->getWrapper('UTF-8', 'ASCII');
- if (!$wrapper) {
- $this->markTestSkipped("Converting UTF-8 to ASCII not supported");
- }
-
- // NOTE: This call could trigger a notice/warning/error
- // but that isn't part of this test
- ErrorHandler::start(E_NOTICE);
- $result = $wrapper->convert($wrapper->convert("foo \xDEx bar"), true);
- ErrorHandler::stop();
-
- $this->assertSame("foo x bar", $result);
- }
-
public function wordWrapProvider()
{
return array(
Please sign in to comment.
Something went wrong with that request. Please try again.