diff --git a/extension.json b/extension.json index 0e6845e2d..232d4f3f8 100644 --- a/extension.json +++ b/extension.json @@ -1153,8 +1153,8 @@ "MediaWiki\\Extension\\Notifications\\": "includes/" }, "TestAutoloadClasses": { - "EchoAbstractMapperStub": "tests/phpunit/Mapper/EchoAbstractMapperStub.php", - "EchoExecuteFirstArgumentStub": "tests/phpunit/Mapper/EchoExecuteFirstArgumentStub.php" + "MediaWiki\\Extension\\Notifications\\Test\\EchoAbstractMapperStub": "tests/phpunit/Mapper/EchoAbstractMapperStub.php", + "MediaWiki\\Extension\\Notifications\\Test\\Integration\\Mapper\\EchoExecuteFirstArgumentStub": "tests/phpunit/Mapper/EchoExecuteFirstArgumentStub.php" }, "TestAutoloadNamespaces": { "MediaWiki\\Extension\\Notifications\\Test\\": "tests/phpunit/", diff --git a/tests/phpunit/Api/ApiEchoMarkReadTest.php b/tests/phpunit/Api/ApiEchoMarkReadTest.php index efc20afe5..1e4e325da 100644 --- a/tests/phpunit/Api/ApiEchoMarkReadTest.php +++ b/tests/phpunit/Api/ApiEchoMarkReadTest.php @@ -1,5 +1,7 @@ arguments ) { - throw new PHPUnit\Framework\Exception( 'Method call must have an argument' ); + throw new \PHPUnit\Framework\Exception( 'Method call must have an argument' ); } return call_user_func( reset( $invocation->arguments ) ); diff --git a/tests/phpunit/Mapper/EventMapperTest.php b/tests/phpunit/Mapper/EventMapperTest.php index 84c4eca1e..3f86fc1af 100644 --- a/tests/phpunit/Mapper/EventMapperTest.php +++ b/tests/phpunit/Mapper/EventMapperTest.php @@ -1,8 +1,12 @@