Mvolz has uploaded a new change for review.

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

Change subject: [WIP] Fix crashes caused by 500 Zotero response
......................................................................

[WIP] Fix crashes caused by 500 Zotero response

Bug: T102601
Change-Id: I9e71705a25b91bbd6fe1c8794929e77082135ae7
---
M test/features/scraping/index.js
1 file changed, 12 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/citoid 
refs/changes/05/218605/1

diff --git a/test/features/scraping/index.js b/test/features/scraping/index.js
index 46c7b10..2784719 100644
--- a/test/features/scraping/index.js
+++ b/test/features/scraping/index.js
@@ -128,5 +128,17 @@
                });
        });
 
+       // The following tests require the WMF fork of the zotero translators, 
as found
+       // here: 
https://gerrit.wikimedia.org/r/mediawiki/services/zotero/translators
+       describe(' uses WMF translator fork', function() {
+
+               it('Google books link that cause internal server error', 
function() {
+                       return 
server.query('https://www.google.co.uk/search?tbm=bks&hl=en&q=isbn%3A0596554141').then(function(res)
 {
+                               assert.status(res, 200);
+                               assert.checkCitation(res, 'Example Domain');
+                       });
+               });
+       });
+
 });
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e71705a25b91bbd6fe1c8794929e77082135ae7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/citoid
Gerrit-Branch: master
Gerrit-Owner: Mvolz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to