[MediaWiki-commits] [Gerrit] mediawiki...PageTriage[master]: Remove outdated lgtoken checks that break tests

2016-10-12 Thread jenkins-bot (Code Review)
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 
Gerrit-Reviewer: Kaldari 
Gerrit-Reviewer: jenkins-bot <>

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


[MediaWiki-commits] [Gerrit] mediawiki...PageTriage[master]: Remove outdated lgtoken checks that break tests

2016-10-12 Thread Catrope (Code Review)
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 

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