Fix title mismatch for ISBN lookup tests
Not sure what this was using before (LOC isn't currently returning a result), but GBV doesn't currently have a serial comma in the title.
This commit is contained in:
parent
05e56acf77
commit
9e6a2d2e50
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ describe("Add Item by Identifier", function() {
|
|||
this.timeout(20000);
|
||||
return lookupIdentifier(win, "0838985890").then(function(ids) {
|
||||
var item = Zotero.Items.get(ids[0]);
|
||||
assert.equal(item.getField("title"), "Zotero: a guide for librarians, researchers, and educators");
|
||||
assert.match(item.getField("title"), /^Zotero: a guide for librarians, researchers/);
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -37,7 +37,7 @@ describe("Add Item by Identifier", function() {
|
|||
this.timeout(20000);
|
||||
return lookupIdentifier(win, "978-0838985892").then(function(ids) {
|
||||
var item = Zotero.Items.get(ids[0]);
|
||||
assert.equal(item.getField("title"), "Zotero: a guide for librarians, researchers, and educators");
|
||||
assert.match(item.getField("title"), /^Zotero: a guide for librarians, researchers/);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue