X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FApiUploadTest.php;h=18f0f791cdf69185753b236c7ab885a955a86f9a;hb=554ca56fd5e76b0216c09543d447dbecd5773202;hp=40de254e7b6e5efc2fe0ebc10567c80552b8027b;hpb=271da8812794176ce928978b77dbd2a6381d8193;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/api/ApiUploadTest.php b/tests/phpunit/includes/api/ApiUploadTest.php index 40de254e7b..18f0f791cd 100644 --- a/tests/phpunit/includes/api/ApiUploadTest.php +++ b/tests/phpunit/includes/api/ApiUploadTest.php @@ -83,7 +83,7 @@ class ApiUploadTest extends ApiTestCaseUpload { ), $session, self::$users['uploader']->getUser() ); } catch ( UsageException $e ) { $exception = true; - $this->assertEquals( "One of the parameters filekey, file, url, statuskey is required", + $this->assertEquals( "One of the parameters filekey, file, url is required", $e->getMessage() ); } $this->assertTrue( $exception, "Got exception" );