From 1684f0706d7fd3d30f02e14b468741bfae0ab4b5 Mon Sep 17 00:00:00 2001 From: Aki Ojalehto Date: Tue, 16 Jan 2018 09:12:31 +0200 Subject: [PATCH] Fix a typo in variable name --- .../Unit/CustomerData/ProductsRenderInfoSectionTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/code/Magento/Catalog/Test/Unit/CustomerData/ProductsRenderInfoSectionTest.php b/app/code/Magento/Catalog/Test/Unit/CustomerData/ProductsRenderInfoSectionTest.php index dd0ce0aaf1c14..3a954c9369089 100644 --- a/app/code/Magento/Catalog/Test/Unit/CustomerData/ProductsRenderInfoSectionTest.php +++ b/app/code/Magento/Catalog/Test/Unit/CustomerData/ProductsRenderInfoSectionTest.php @@ -134,7 +134,7 @@ public function testGetSectionData() ->expects($this->once()) ->method('create') ->willReturn($filterMock); - $searchCritera = $this->createMock(SearchCriteria::class); + $searchCriteria = $this->createMock(SearchCriteria::class); $this->searchCriteriaBuilderMock ->expects($this->once()) ->method('addFilters') @@ -142,10 +142,10 @@ public function testGetSectionData() ->willReturnSelf(); $this->searchCriteriaBuilderMock->expects($this->once()) ->method('create') - ->willReturn($searchCritera); + ->willReturn($searchCriteria); $this->productRenderRepositoryMock->expects($this->once()) ->method('getList') - ->with($searchCritera, 3, 'UAH') + ->with($searchCriteria, 3, 'UAH') ->willReturn($searchResult); $searchResult->expects($this->any()) ->method('getItems')