diff --git a/.phpcs.xml b/.phpcs.xml index 534da5b..31ab3a1 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -2,7 +2,6 @@ - . diff --git a/tests/phpunit/includes/HooksTest.php b/tests/phpunit/includes/HooksTest.php index e675b72..10e9c81 100644 --- a/tests/phpunit/includes/HooksTest.php +++ b/tests/phpunit/includes/HooksTest.php @@ -69,9 +69,9 @@ class HooksTest extends MediaWikiLangTestCase { ( new Hooks() )->onSkinAfterContent( $data, $sk ); if ( $enabled ) { - $this->assertNotEmpty( $data, 'Cookie warning should be present' ); + $this->assertNotSame( '', $data, 'Cookie warning should be present' ); } else { - $this->assertEmpty( $data, 'Cookie warning should not be present' ); + $this->assertSame( '', $data, 'Cookie warning should not be present' ); return; }