X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fcontent%2FJavaScriptContentTest.php;h=a4dd1fceb07ed19acbb6e5d318303d3a43d19786;hb=54c70c3551ea2b19a8967135fce5913c65e4bfbd;hp=2c61b7db2fa6920759f19edd7711e6cdca0742ff;hpb=d3ea8b412c673dca42c7e4426860b321ed224c14;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/content/JavaScriptContentTest.php b/tests/phpunit/includes/content/JavaScriptContentTest.php index 2c61b7db2f..a4dd1fceb0 100644 --- a/tests/phpunit/includes/content/JavaScriptContentTest.php +++ b/tests/phpunit/includes/content/JavaScriptContentTest.php @@ -234,7 +234,7 @@ class JavaScriptContentTest extends TextContentTest { $content = new JavaScriptContent( $oldText ); $newContent = $content->updateRedirect( $target ); - $this->assertEquals( $expectedText, $newContent->getNativeData() ); + $this->assertEquals( $expectedText, $newContent->getText() ); } public static function provideUpdateRedirect() {