Merge "Expose SearchEngine specific profiles"
[lhc/web/wiklou.git] / tests / phpunit / includes / api / ApiUnblockTest.php
index e9dff9f..b63bf2e 100644 (file)
@@ -18,14 +18,14 @@ class ApiUnblockTest extends ApiTestCase {
         */
        public function testWithNoToken() {
                $this->doApiRequest(
-                       array(
+                       [
                                'action' => 'unblock',
                                'user' => 'UTApiBlockee',
                                'reason' => 'Some reason',
-                       ),
+                       ],
                        null,
                        false,
-                       self::$users['sysop']->user
+                       self::$users['sysop']->getUser()
                );
        }
 }