Skip to content

Commit

Permalink
MAGETWO-47868: Unable to checkout with specific country settings #2933
Browse files Browse the repository at this point in the history
  • Loading branch information
sidolov committed Jan 19, 2016
1 parent 48b29ea commit 7b1ac83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/Checkout/Block/Cart/LayoutProcessor.php
Expand Up @@ -85,7 +85,7 @@ public function process($jsLayout)
'visible' => true,
'formElement' => 'select',
'label' => __('Country'),
'options' => $this->countryCollection->load()->toOptionArray(),
'options' => $this->countryCollection->loadByStore()->toOptionArray(),
'value' => null
],
'region_id' => [
Expand Down
Expand Up @@ -66,7 +66,7 @@ public function testProcess()
$layoutPointer = &$layout['components']['block-summary']['children']['block-shipping']
['children']['address-fieldsets']['children'];

$this->countryCollection->expects($this->once())->method('load')->willReturnSelf();
$this->countryCollection->expects($this->once())->method('loadByStore')->willReturnSelf();
$this->countryCollection->expects($this->once())->method('toOptionArray')->willReturn($countries);

$this->regionCollection->expects($this->once())->method('load')->willReturnSelf();
Expand Down

0 comments on commit 7b1ac83

Please sign in to comment.