Skip to content

Commit

Permalink
update tester
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed May 14, 2024
1 parent 6eb4c7d commit 45767a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
6 changes: 3 additions & 3 deletions tests/FunctionalDefaultCountry/FrontpageMappingCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand Down
8 changes: 0 additions & 8 deletions tests/Support/FunctionalI18nTester.php

This file was deleted.

0 comments on commit 45767a4

Please sign in to comment.