Fix tests after removing RECOGNIZE_URL

This commit is contained in:
Dan Stillman 2019-02-19 04:37:22 -05:00
parent 663acccbc2
commit 4d3625f101

View file

@ -895,10 +895,10 @@ describe("Zotero.ItemTreeView", function() {
server.autoRespond = true;
setHTTPResponse(
server,
ZOTERO_CONFIG.RECOGNIZE_URL,
ZOTERO_CONFIG.SERVICES_URL,
{
method: 'POST',
url: 'recognize',
url: 'recognizer/recognize',
status: 200,
headers: {
'Content-Type': 'application/json'
@ -952,10 +952,10 @@ describe("Zotero.ItemTreeView", function() {
server.autoRespond = true;
setHTTPResponse(
server,
ZOTERO_CONFIG.RECOGNIZE_URL,
ZOTERO_CONFIG.SERVICES_URL,
{
method: 'POST',
url: 'recognize',
url: 'recognizer/recognize',
status: 200,
headers: {
'Content-Type': 'application/json'