Fix connector server test after 6900a5cc
This commit is contained in:
parent
6900a5ccf8
commit
9541a6cfcd
|
@ -334,9 +334,7 @@ describe("Connector Server", function () {
|
||||||
));
|
));
|
||||||
assert.instanceOf(error, Zotero.HTTP.UnexpectedStatusException);
|
assert.instanceOf(error, Zotero.HTTP.UnexpectedStatusException);
|
||||||
assert.equal(error.xmlhttp.status, 400);
|
assert.equal(error.xmlhttp.status, 400);
|
||||||
assert.equal(error.xmlhttp.responseText,
|
assert.equal(error.xmlhttp.responseText, Zotero.getString("styles.installError", "(null)"));
|
||||||
Zotero.getString("styles.installError",
|
|
||||||
Zotero.getString('styles.unknownOrigin')));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should import a style with application/vnd.citationstyles.style+xml content-type', function* () {
|
it('should import a style with application/vnd.citationstyles.style+xml content-type', function* () {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user