1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-01-02 03:37:54 +02:00

Fixing UI tests

This commit is contained in:
Patrik J. Braun 2023-01-10 21:39:59 +01:00
parent 3990287dec
commit 7f758492db

View File

@ -21,7 +21,7 @@ describe('UI', () => {
for (const t of translations) {
let lang = t.substring(t.indexOf('.') + 1, t.indexOf('.') + 3);
let lang = t.substring(t.indexOf('.') + 1, t.length-4);
if (lang === 'en') {
continue; // no need to add 'en' as it is the default language.
}