[BUGFIX] Failing charset related test in page renderer
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 12 Apr 2012 12:48:18 +0000 (14:48 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 12 Apr 2012 12:53:15 +0000 (14:53 +0200)
With issue #34092 the charset conversion code was removed from
the core. Test isInlineLanguageLabelDeliveredWithNonUTF8 fails
now and can be removed as obsolete.

Change-Id: I12e03ce182cda6d6f4b4a6da650f0c17327188a5
Resolves: #35901
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10336
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
tests/t3lib/class.t3lib_pagerendererTest.php

index 775b4bc..38ba427 100644 (file)
@@ -758,23 +758,6 @@ class t3lib_PageRendererTest extends tx_phpunit_testcase {
        }
 
        /**
-        * Tests whether labels are delivered in a non-UTF-8 context.
-        * (background: json_encode() requires UTF-8 to work properly)
-        *
-        * @test
-        */
-       public function isInlineLanguageLabelDeliveredWithNonUTF8() {
-               $testPrefix = uniqid('test');
-               $this->fixture->loadExtCore();
-               $this->fixture->setCharSet('utf-8');
-               $this->fixture->addInlineLanguageLabel($testPrefix, $testPrefix . "_\xd8");
-
-               $out = $this->fixture->render();
-
-               $this->assertContains($testPrefix . '_\\u00d8', $out);
-       }
-
-       /**
         * Tests the addInlineLanguageLabelFile() method.
         *
         * @test