From 9541a6cfcdffefcb7e4e2aa2c36504b29290db0e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 30 Nov 2016 22:40:54 -0500 Subject: [PATCH] Fix connector server test after 6900a5cc --- test/tests/server_connectorTest.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/tests/server_connectorTest.js b/test/tests/server_connectorTest.js index 44897a59f..b343fe6fc 100644 --- a/test/tests/server_connectorTest.js +++ b/test/tests/server_connectorTest.js @@ -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* () {