diff --git a/src/modules/donate/controllers/DefaultController.php b/src/modules/donate/controllers/DefaultController.php index e0c8ff75..62e0c444 100644 --- a/src/modules/donate/controllers/DefaultController.php +++ b/src/modules/donate/controllers/DefaultController.php @@ -11,6 +11,6 @@ final class DefaultController extends Controller { public function actionIndex(): Response { - return $this->redirect('/order/donate/', 302); + return $this->redirect('https://products.elisdn.ru/order/donate/', 302); } } diff --git a/tests/acceptance/DonateCest.php b/tests/acceptance/DonateCest.php index d5f9f0ff..21fdc7e2 100644 --- a/tests/acceptance/DonateCest.php +++ b/tests/acceptance/DonateCest.php @@ -13,6 +13,6 @@ public function home(AcceptanceTester $I): void $I->stopFollowingRedirects(); $I->amOnPage('donate'); $I->seeResponseCodeIs(302); - $I->haveHttpHeader('Location', '/order/donate/'); + $I->haveHttpHeader('Location', 'https://products.elisdn.ru/order/donate/'); } }