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
Selenium: Hide VE welcome and beta dialogs
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
MediaWikiCoversValidator.php
diff --git
a/tests/phpunit/MediaWikiCoversValidator.php
b/tests/phpunit/MediaWikiCoversValidator.php
index
a79a139
..
ca400bf
100644
(file)
--- a/
tests/phpunit/MediaWikiCoversValidator.php
+++ b/
tests/phpunit/MediaWikiCoversValidator.php
@@
-33,7
+33,7
@@
trait MediaWikiCoversValidator {
*/
public function testValidCovers() {
$methods = get_class_methods( $this );
*/
public function testValidCovers() {
$methods = get_class_methods( $this );
- $class =
get_class( $this )
;
+ $class =
static::class
;
$bad = '';
foreach ( $methods as $method ) {
if ( strpos( $method, 'test' ) === 0 ) {
$bad = '';
foreach ( $methods as $method ) {
if ( strpos( $method, 'test' ) === 0 ) {
@@
-45,6
+45,6
@@
trait MediaWikiCoversValidator {
}
}
}
}
- $this->assert
Equals
( '', $bad );
+ $this->assert
Same
( '', $bad );
}
}
}
}