From 99fda7f2d25841fd96fd466fd241f92310edad8f Mon Sep 17 00:00:00 2001 From: Olivier ALLAIN Date: Tue, 4 Jun 2024 19:14:56 +0200 Subject: [PATCH] fix tests --- tests/PHPUnit/PagesCanBeAccessedTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/PHPUnit/PagesCanBeAccessedTest.php b/tests/PHPUnit/PagesCanBeAccessedTest.php index 8d03255..ee0e871 100644 --- a/tests/PHPUnit/PagesCanBeAccessedTest.php +++ b/tests/PHPUnit/PagesCanBeAccessedTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace PHPUnit; +namespace Tests\BootstrapTheme; use App\Entity\Addressing\Address; use App\Entity\Order\Order; @@ -65,7 +65,7 @@ public function testAccountPagesCanBeAccessed(string $routeName, array $params): self::assertPageTitleContains('Fashion Web Store'); } - private function guestPagesProvider(): \Generator + public function guestPagesProvider(): \Generator { yield 'sylius_shop_homepage' => ['sylius_shop_homepage', []]; yield 'sylius_shop_contact_request' => ['sylius_shop_contact_request', []]; @@ -82,7 +82,7 @@ private function guestPagesProvider(): \Generator yield 'sylius_shop_cart_summary' => ['sylius_shop_cart_summary', []]; } - private function accountPagesProvider(): \Generator + public function accountPagesProvider(): \Generator { yield 'sylius_shop_account_dashboard' => ['sylius_shop_account_dashboard', []]; yield 'sylius_shop_account_profile_update' => ['sylius_shop_account_profile_update', []];