Skip to content
Browse files

removed test failing since PHP>=5.4

noted in #3110 (which added the test)
  • Loading branch information...
1 parent 10b2b69 commit ceb37fa70af3e89d4a29e79108150143be52a96a Marc Bennewitz committed Jan 8, 2013
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(

0 comments on commit ceb37fa

Please sign in to comment.
Something went wrong with that request. Please try again.