From 45767a4934d3e68ade7787bcb1863cce070edd8f Mon Sep 17 00:00:00 2001 From: Stefan Hagspiel Date: Tue, 14 May 2024 23:29:51 +0200 Subject: [PATCH] update tester --- tests/FunctionalDefaultCountry/FrontpageMappingCest.php | 6 +++--- tests/Support/FunctionalI18nTester.php | 8 -------- 2 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 tests/Support/FunctionalI18nTester.php diff --git a/tests/FunctionalDefaultCountry/FrontpageMappingCest.php b/tests/FunctionalDefaultCountry/FrontpageMappingCest.php index 7710473..4d229e2 100644 --- a/tests/FunctionalDefaultCountry/FrontpageMappingCest.php +++ b/tests/FunctionalDefaultCountry/FrontpageMappingCest.php @@ -2,11 +2,11 @@ namespace DachcomBundle\Test\FunctionalDefaultCountry; -use DachcomBundle\Test\Support\FunctionalI18nTester; +use DachcomBundle\Test\Support\FunctionalTester; class FrontpageMappingCest { - public function testFrontPageMappingWithRedirecting(FunctionalI18nTester $I): void + public function testFrontPageMappingWithRedirecting(FunctionalTester $I): void { $document1 = $I->haveAPageDocument('en', [], 'en'); $document2 = $I->haveAHardLink($document1, 'en-us', [], 'en_US'); @@ -17,7 +17,7 @@ public function testFrontPageMappingWithRedirecting(FunctionalI18nTester $I): vo $I->see($document3->getId(), '#page-id'); } - public function testFrontPageMappingWithoutRedirecting(FunctionalI18nTester $I): void + public function testFrontPageMappingWithoutRedirecting(FunctionalTester $I): void { $document1 = $I->haveAPageDocument('en', [], 'en'); $document2 = $I->haveAHardLink($document1, 'en-us', [], 'en_US'); diff --git a/tests/Support/FunctionalI18nTester.php b/tests/Support/FunctionalI18nTester.php deleted file mode 100644 index a45ff2e..0000000 --- a/tests/Support/FunctionalI18nTester.php +++ /dev/null @@ -1,8 +0,0 @@ -