Skip to content
Snippets Groups Projects
Commit 468674f6 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fix integration test

parent f39c1e65
No related branches found
No related tags found
2 merge requests!2131Translated using Weblate (German),!2130Translations update from Weblate
...@@ -32,9 +32,8 @@ class Datenschutz extends Page ...@@ -32,9 +32,8 @@ class Datenschutz extends Page
if (!file_exists(lang_path($lang))) { if (!file_exists(lang_path($lang))) {
continue; continue;
} }
$text = $lang === "de" ? "Datenschutzerklärung" : "Data protection";
$browser->visit($url) $browser->visit($url)
->waitForText($text) ->waitForText(trans("privacy.title", [], $lang))
->assertTitle(trans("titles.datenschutz", [], $lang)); ->assertTitle(trans("titles.datenschutz", [], $lang));
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment