Hoo man has uploaded a new change for review.

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

Change subject: Remove unused WikibaseApiTestCase::getToken
......................................................................

Remove unused WikibaseApiTestCase::getToken

Change-Id: I6fdb20bb0c4d18e6925a8335e2b059b75faba49d
---
M repo/tests/phpunit/includes/api/WikibaseApiTestCase.php
1 file changed, 0 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/57/151057/1

diff --git a/repo/tests/phpunit/includes/api/WikibaseApiTestCase.php 
b/repo/tests/phpunit/includes/api/WikibaseApiTestCase.php
index de74ae8..6ec30e8 100644
--- a/repo/tests/phpunit/includes/api/WikibaseApiTestCase.php
+++ b/repo/tests/phpunit/includes/api/WikibaseApiTestCase.php
@@ -63,14 +63,6 @@
        }
 
        /**
-        * Gets an entity edit token.
-        */
-       protected function getToken( $type = 'edittoken' ) {
-               $tokens = self::getTokenList( self::$loginUser );
-               return $tokens[$type];
-       }
-
-       /**
         *  Appends an edit token to a request
         */
        protected function doApiRequestWithToken( array $params, array $session 
= null, User $user = null ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6fdb20bb0c4d18e6925a8335e2b059b75faba49d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <h...@online.de>

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

Reply via email to