Merge "Refactor buildPrevNextNavigation"
[lhc/web/wiklou.git] / tests / phpunit / includes / auth / ThrottlerTest.php
index f963ad9..3bfc3ac 100644 (file)
@@ -11,7 +11,7 @@ use Wikimedia\TestingAccessWrapper;
 
 /**
  * @group AuthManager
- * @covers MediaWiki\Auth\Throttler
+ * @covers \MediaWiki\Auth\Throttler
  */
 class ThrottlerTest extends \MediaWikiTestCase {
        public function testConstructor() {
@@ -199,7 +199,7 @@ class ThrottlerTest extends \MediaWikiTestCase {
                $logger->expects( $this->once() )->method( 'log' )->with( $this->anything(), $this->anything(), [
                        'throttle' => 'custom',
                        'index' => 0,
-                       'ip' => '1.2.3.4',
+                       'ipKey' => '1.2.3.4',
                        'username' => 'SomeUser',
                        'count' => 1,
                        'expiry' => 10,