Skip to content

Commit

Permalink
Fix donate redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
ElisDN committed Apr 21, 2024
1 parent 398f783 commit e539d02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/donate/controllers/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
2 changes: 1 addition & 1 deletion tests/acceptance/DonateCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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/');
}
}

0 comments on commit e539d02

Please sign in to comment.