Skip to content

Commit 37fdec1

Browse files
committed
Fix typo in property name
1 parent bb4995c commit 37fdec1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/Sales/Test/Unit/Model/Rss/NewOrderTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class NewOrderTest extends \PHPUnit\Framework\TestCase
3232
/**
3333
* @var \Magento\Framework\UrlInterface|\PHPUnit_Framework_MockObject_MockObject
3434
*/
35-
protected $urlBuiler;
35+
protected $urlBuilder;
3636

3737
/**
3838
* @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface|\PHPUnit_Framework_MockObject_MockObject
@@ -84,7 +84,7 @@ class NewOrderTest extends \PHPUnit\Framework\TestCase
8484
protected function setUp()
8585
{
8686
$this->orderFactory = $this->createPartialMock(\Magento\Sales\Model\OrderFactory::class, ['create']);
87-
$this->urlBuiler = $this->createMock(\Magento\Framework\UrlInterface::class);
87+
$this->urlBuilder = $this->createMock(\Magento\Framework\UrlInterface::class);
8888
$this->timezoneInterface = $this->createMock(\Magento\Framework\Stdlib\DateTime\TimezoneInterface::class);
8989
$this->dateTime = $this->createMock(\Magento\Framework\Stdlib\DateTime::class);
9090
$this->scopeConfigInterface = $this->createMock(\Magento\Framework\App\Config\ScopeConfigInterface::class);
@@ -98,7 +98,7 @@ protected function setUp()
9898
\Magento\Sales\Model\Rss\NewOrder::class,
9999
[
100100
'orderFactory' => $this->orderFactory,
101-
'urlBuilder' => $this->urlBuiler,
101+
'urlBuilder' => $this->urlBuilder,
102102
'rssUrlBuilder' => $this->rssUrlBuilderInterface,
103103
'localeDate' => $this->timezoneInterface,
104104
'dateTime' => $this->dateTime,
@@ -150,7 +150,7 @@ public function testGetData()
150150
$block->expects($this->once())->method('toHtml')->will($this->returnValue('Order Description'));
151151

152152
$this->layout->expects($this->once())->method('getBlockSingleton')->will($this->returnValue($block));
153-
$this->urlBuiler->expects($this->once())->method('getUrl')
153+
$this->urlBuilder->expects($this->once())->method('getUrl')
154154
->will($this->returnValue('http://magento.com/sales/order/view/order_id/1'));
155155
$this->assertEquals($this->feedData, $this->model->getRssData());
156156
}

0 commit comments

Comments
 (0)