diff --git a/tests/acceptance/BaseAcceptanceCest.php b/tests/acceptance/BaseAcceptanceCest.php index d69d4e9441..29604926a4 100644 --- a/tests/acceptance/BaseAcceptanceCest.php +++ b/tests/acceptance/BaseAcceptanceCest.php @@ -9,7 +9,7 @@ // phpcs:disable Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps abstract class BaseAcceptanceCest { - public function _before(AcceptanceTester $I): void + protected function _before(AcceptanceTester $I): void { $I->amOnPage('/'); $I->setCookie('SELENIUM', 'SELENIUM', [ diff --git a/tests/acceptance/EventCashbookCest.php b/tests/acceptance/EventCashbookCest.php index ad3040517e..746fe9c787 100644 --- a/tests/acceptance/EventCashbookCest.php +++ b/tests/acceptance/EventCashbookCest.php @@ -22,7 +22,7 @@ class EventCashbookCest extends BaseAcceptanceCest protected AcceptanceTester $I; private string $eventName; - public function _before(AcceptanceTester $I): void + protected function _before(AcceptanceTester $I): void { parent::_before($I); diff --git a/tests/acceptance/PaymentCest.php b/tests/acceptance/PaymentCest.php index 6bfcecf7e9..7b667902a6 100644 --- a/tests/acceptance/PaymentCest.php +++ b/tests/acceptance/PaymentCest.php @@ -13,7 +13,7 @@ class PaymentCest extends BaseAcceptanceCest protected AcceptanceTester $I; protected Payment $page; - public function _before(AcceptanceTester $I): void + protected function _before(AcceptanceTester $I): void { parent::_before($I);