Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 2f639c0

Browse files
ENGCOM-3336: Added $websiteString property to test class #142
- Merge Pull Request #142 from maxalmonte14/import-export-improvements:improvement/supress_undefined_websiteString_property_error - Merged commits: 1. 06a47b5 2. e32808b
2 parents 77af5d6 + e32808b commit 2f639c0

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/AdvancedPricingImportExport/Test/Unit/Model/Import/AdvancedPricing/Validator

1 file changed

+2
-2
lines changed

app/code/Magento/AdvancedPricingImportExport/Test/Unit/Model/Import/AdvancedPricing/Validator/WebsiteTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ public function testGetAllWebsitesValue()
103103
$this->webSiteModel->expects($this->once())->method('getBaseCurrency')->willReturn($currency);
104104

105105
$expectedResult = AdvancedPricing::VALUE_ALL_WEBSITES . ' [' . $currencyCode . ']';
106-
$this->websiteString = $this->getMockBuilder(
106+
$websiteString = $this->getMockBuilder(
107107
\Magento\AdvancedPricingImportExport\Model\Import\AdvancedPricing\Validator\Website::class
108108
)
109109
->setMethods(['_clearMessages', '_addMessages'])
110110
->setConstructorArgs([$this->storeResolver, $this->webSiteModel])
111111
->getMock();
112-
$result = $this->websiteString->getAllWebsitesValue();
112+
$result = $websiteString->getAllWebsitesValue();
113113

114114
$this->assertEquals($expectedResult, $result);
115115
}

0 commit comments

Comments
 (0)