Tobias Gritschacher has uploaded a new change for review. https://gerrit.wikimedia.org/r/112002
Change subject: Fix WB Ruby API Module using the wron exception ...................................................................... Fix WB Ruby API Module using the wron exception Change-Id: I6ff71341fca3ace046f9aa7d1cc534ce2c115db7 --- M tests/browser/features/support/modules/wikibase_api_module.rb 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/02/112002/1 diff --git a/tests/browser/features/support/modules/wikibase_api_module.rb b/tests/browser/features/support/modules/wikibase_api_module.rb index 84a5357..ec45629 100644 --- a/tests/browser/features/support/modules/wikibase_api_module.rb +++ b/tests/browser/features/support/modules/wikibase_api_module.rb @@ -118,7 +118,7 @@ form_data.merge!("format" => "json") http_send(@wiki_url, form_data, @headers.merge({:cookies => @cookies})) do |response, &block| # Check response for errors and return JSON - raise MediaWiki::Exception.new "Bad response: #{response}" unless response.code >= 200 and response.code < 300 + raise WBException::Exception.new "Bad response: #{response}" unless response.code >= 200 and response.code < 300 json_resp = get_response(response.dup) if form_data["action"] == "login" login_result = json_resp["login"]["result"] -- To view, visit https://gerrit.wikimedia.org/r/112002 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6ff71341fca3ace046f9aa7d1cc534ce2c115db7 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Tobias Gritschacher <tobias.gritschac...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits