Skip to content

Commit

Permalink
Fix unit tests in master
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Apr 30, 2024
1 parent b214283 commit 20d43c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/questionDropdownTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ QUnit.test("ListModel localization", assert => {
const listModel = question.popupModel.contentComponentData.model as ListModel;
assert.equal(listModel.filterStringPlaceholder, "Type to search...", "filtered text in en");
survey.locale = "de";
assert.equal(listModel.filterStringPlaceholder, "Tippe um zu suchen...", "filtered text in de");
assert.equal(listModel.filterStringPlaceholder, "Tippen Sie, um zu suchen...", "filtered text in de");
survey.locale = "";
});
QUnit.test("readOnlyText default", assert => {
Expand Down Expand Up @@ -1911,7 +1911,7 @@ QUnit.test("Test dropdown string localization", function (assert) {
});
const q1 = <QuestionDropdownModel>survey.getAllQuestions()[0];
const listModel = q1.dropdownListModel["listModel"];
assert.equal(listModel.filterStringPlaceholder, "Tippe um zu suchen...", "filterStringPlaceholder");
assert.equal(listModel.filterStringPlaceholder, "Tippen Sie, um zu suchen...", "filterStringPlaceholder");
assert.equal(listModel.emptyMessage, "Es gibt noch keine Daten.", "emptyMessage");
assert.equal(listModel.loadingText, "Wird hochgeladen...", "loadingText");

Expand Down

0 comments on commit 20d43c1

Please sign in to comment.