From 35c306e5e4e584a4524ba7ef3ed68ebcc348a90e Mon Sep 17 00:00:00 2001 From: Sviatoslav Mankivskyi <smankivskyi@ebay.com> Date: Fri, 30 Oct 2015 11:47:47 +0200 Subject: [PATCH] MAGETWO-44723: Errors related to mixed content after redirecting from wishlist to product page when secure URLs for storefront used --- app/code/Magento/Review/Test/Unit/Block/FormTest.php | 2 +- app/code/Magento/Review/Test/Unit/Block/Product/ReviewTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Review/Test/Unit/Block/FormTest.php b/app/code/Magento/Review/Test/Unit/Block/FormTest.php index c806cc6f245..b237ddc28be 100644 --- a/app/code/Magento/Review/Test/Unit/Block/FormTest.php +++ b/app/code/Magento/Review/Test/Unit/Block/FormTest.php @@ -122,7 +122,7 @@ class FormTest extends \PHPUnit_Framework_TestCase ->method('isSecure') ->willReturn($isSecure); - $this->assertEquals($actionUrl . '/id/' . $productId , $this->object->getAction()); + $this->assertEquals($actionUrl . '/id/' . $productId, $this->object->getAction()); } public function getActionDataProvider() diff --git a/app/code/Magento/Review/Test/Unit/Block/Product/ReviewTest.php b/app/code/Magento/Review/Test/Unit/Block/Product/ReviewTest.php index d43824ac167..2ed84108116 100644 --- a/app/code/Magento/Review/Test/Unit/Block/Product/ReviewTest.php +++ b/app/code/Magento/Review/Test/Unit/Block/Product/ReviewTest.php @@ -198,7 +198,7 @@ class ReviewTest extends \PHPUnit_Framework_TestCase ->method('isSecure') ->willReturn($isSecure); - $this->assertEquals($actionUrl . '/id/' . $productId , $this->block->getProductReviewUrl()); + $this->assertEquals($actionUrl . '/id/' . $productId, $this->block->getProductReviewUrl()); } public function getProductReviewUrlDataProvider() -- GitLab