Fix tests after removing RECOGNIZE_URL
This commit is contained in:
parent
663acccbc2
commit
4d3625f101
1 changed files with 4 additions and 4 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue