Catrope has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/315550

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PageTriage 
refs/changes/50/315550/1

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: newchange
Gerrit-Change-Id: If2d17d00c7ad8bcf47fa6245b987d3cd8e5cde60
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PageTriage
Gerrit-Branch: master
Gerrit-Owner: Catrope <r...@wikimedia.org>

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

Reply via email to