From 468674f6565b10f393a5bf92130447a024f10636 Mon Sep 17 00:00:00 2001 From: Dominik Hebeler <dominik@hebeler.club> Date: Thu, 31 Aug 2023 11:03:13 +0200 Subject: [PATCH] fix integration test --- metager/tests/Browser/Pages/Datenschutz.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/metager/tests/Browser/Pages/Datenschutz.php b/metager/tests/Browser/Pages/Datenschutz.php index c22e59b3c..c1a6731f0 100644 --- a/metager/tests/Browser/Pages/Datenschutz.php +++ b/metager/tests/Browser/Pages/Datenschutz.php @@ -32,9 +32,8 @@ class Datenschutz extends Page if (!file_exists(lang_path($lang))) { continue; } - $text = $lang === "de" ? "Datenschutzerklärung" : "Data protection"; $browser->visit($url) - ->waitForText($text) + ->waitForText(trans("privacy.title", [], $lang)) ->assertTitle(trans("titles.datenschutz", [], $lang)); } } -- GitLab