Fix sync runner test for updated login error button text

This commit is contained in:
Dan Stillman 2026-03-19 15:47:56 -04:00
parent 1502214b5d
commit 1d31ed2508

View file

@ -1088,7 +1088,7 @@ describe("Zotero.Sync.Runner", function () {
var panel = win.document.getElementById('zotero-sync-error-panel');
var buttons = panel.getElementsByTagName('button');
assert.lengthOf(buttons, 1);
assert.equal(buttons[0].label, Zotero.getString('sync.openSyncPreferences'));
assert.equal(buttons[0].label, Zotero.ftl.formatValueSync('account-log-in'));
});