dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: Prefer PHPUnit's assertSame() when comparing empty strings
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
content
/
UnknownContentHandlerTest.php
diff --git
a/tests/phpunit/includes/content/UnknownContentHandlerTest.php
b/tests/phpunit/includes/content/UnknownContentHandlerTest.php
index
bc1d3c6
..
0572289
100644
(file)
--- a/
tests/phpunit/includes/content/UnknownContentHandlerTest.php
+++ b/
tests/phpunit/includes/content/UnknownContentHandlerTest.php
@@
-49,7
+49,7
@@
class UnknownContentHandlerTest extends MediaWikiLangTestCase {
$content = $handler->makeEmptyContent();
$this->assertTrue( $content->isEmpty() );
- $this->assert
Equals
( '', $content->getData() );
+ $this->assert
Same
( '', $content->getData() );
}
public static function dataIsSupportedFormat() {