Merge "Fix \n handling for HTMLUsersMultiselectField"
[lhc/web/wiklou.git] / tests / phpunit / includes / api / ApiUnblockTest.php
index a374f09..971b63c 100644 (file)
@@ -14,15 +14,15 @@ class ApiUnblockTest extends ApiTestCase {
        }
 
        /**
-        * @expectedException UsageException
+        * @expectedException ApiUsageException
         */
        public function testWithNoToken() {
                $this->doApiRequest(
-                       array(
+                       [
                                'action' => 'unblock',
                                'user' => 'UTApiBlockee',
                                'reason' => 'Some reason',
-                       ),
+                       ],
                        null,
                        false,
                        self::$users['sysop']->getUser()