jenkins-bot has submitted this change and it was merged.

Change subject: Remove outdated lgtoken checks that break tests
......................................................................


Remove outdated lgtoken checks that break tests

Change-Id: If2d17d00c7ad8bcf47fa6245b987d3cd8e5cde60
---
M tests/phpunit/ApiPageTriageActionTest.php
M tests/phpunit/SpecialNewPagesFeedTest.php
2 files changed, 0 insertions(+), 2 deletions(-)

Approvals:
  Kaldari: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/phpunit/ApiPageTriageActionTest.php 
b/tests/phpunit/ApiPageTriageActionTest.php
index 0f5853c..751ebc2 100644
--- a/tests/phpunit/ApiPageTriageActionTest.php
+++ b/tests/phpunit/ApiPageTriageActionTest.php
@@ -64,7 +64,6 @@
                        $this->assertArrayHasKey( "login", $result );
                        $this->assertArrayHasKey( "result", $result['login'] );
                        $this->assertEquals( "Success", 
$result['login']['result'] );
-                       $this->assertArrayHasKey( 'lgtoken', $result['login'] );
 
                        $this->assertNotEmpty( $session, 'API Login must return 
a session' );
 
diff --git a/tests/phpunit/SpecialNewPagesFeedTest.php 
b/tests/phpunit/SpecialNewPagesFeedTest.php
index 6177c79..f0459b1 100644
--- a/tests/phpunit/SpecialNewPagesFeedTest.php
+++ b/tests/phpunit/SpecialNewPagesFeedTest.php
@@ -62,7 +62,6 @@
                        $this->assertArrayHasKey( "login", $result );
                        $this->assertArrayHasKey( "result", $result['login'] );
                        $this->assertEquals( "Success", 
$result['login']['result'] );
-                       $this->assertArrayHasKey( 'lgtoken', $result['login'] );
 
                        $this->assertNotEmpty( $session, 'API Login must return 
a session' );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/315550
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If2d17d00c7ad8bcf47fa6245b987d3cd8e5cde60
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PageTriage
Gerrit-Branch: master
Gerrit-Owner: Catrope <r...@wikimedia.org>
Gerrit-Reviewer: Kaldari <rkald...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to