Fix connector server test after 6900a5cc

This commit is contained in:
Dan Stillman 2016-11-30 22:40:54 -05:00
parent 6900a5ccf8
commit 9541a6cfcd

View file

@ -334,9 +334,7 @@ describe("Connector Server", function () {
));
assert.instanceOf(error, Zotero.HTTP.UnexpectedStatusException);
assert.equal(error.xmlhttp.status, 400);
assert.equal(error.xmlhttp.responseText,
Zotero.getString("styles.installError",
Zotero.getString('styles.unknownOrigin')));
assert.equal(error.xmlhttp.responseText, Zotero.getString("styles.installError", "(null)"));
});
it('should import a style with application/vnd.citationstyles.style+xml content-type', function* () {