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:
parent
3990287dec
commit
7f758492db
@ -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.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user