From 16234663149a6286a03932b91dbb5c794a6c0609 Mon Sep 17 00:00:00 2001 From: ix5 Date: Tue, 24 May 2022 00:42:14 +0200 Subject: [PATCH] js: test/unit: Correct German placeholders They were newly translated, use actual values instead of English fallbacks. --- isso/js/tests/unit/postbox-labels-optional.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/isso/js/tests/unit/postbox-labels-optional.test.js b/isso/js/tests/unit/postbox-labels-optional.test.js index 54217e7b1..ae6397748 100644 --- a/isso/js/tests/unit/postbox-labels-optional.test.js +++ b/isso/js/tests/unit/postbox-labels-optional.test.js @@ -15,7 +15,7 @@ test('"(optional)" labels in Postox vanish if require-author/-email set', () => '
' + ''; const isso = require("app/isso"); @@ -39,8 +39,8 @@ test('"(optional)" labels in Postox vanish if require-author/-email set', () => isso_thread.append('
'); isso_thread.append(new isso.Postbox(null)); - expect($("#isso-postbox-author").placeholder).toBe('John Doe'); - expect($("#isso-postbox-email").placeholder).toBe('johndoe@example.com'); + expect($("#isso-postbox-author").placeholder).toBe('Max Mustermann'); + expect($("#isso-postbox-email").placeholder).toBe('mustermann@beispiel.de'); // Instead of "Name (optional)" expect($("[for='isso-postbox-author']").textContent).toBe('Name'); // Instead of "E-mail (optional)"