@@ -32,7 +32,7 @@ class NewOrderTest extends \PHPUnit\Framework\TestCase
32
32
/**
33
33
* @var \Magento\Framework\UrlInterface|\PHPUnit_Framework_MockObject_MockObject
34
34
*/
35
- protected $ urlBuiler ;
35
+ protected $ urlBuilder ;
36
36
37
37
/**
38
38
* @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface|\PHPUnit_Framework_MockObject_MockObject
@@ -84,7 +84,7 @@ class NewOrderTest extends \PHPUnit\Framework\TestCase
84
84
protected function setUp ()
85
85
{
86
86
$ 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);
88
88
$ this ->timezoneInterface = $ this ->createMock (\Magento \Framework \Stdlib \DateTime \TimezoneInterface::class);
89
89
$ this ->dateTime = $ this ->createMock (\Magento \Framework \Stdlib \DateTime::class);
90
90
$ this ->scopeConfigInterface = $ this ->createMock (\Magento \Framework \App \Config \ScopeConfigInterface::class);
@@ -98,7 +98,7 @@ protected function setUp()
98
98
\Magento \Sales \Model \Rss \NewOrder::class,
99
99
[
100
100
'orderFactory ' => $ this ->orderFactory ,
101
- 'urlBuilder ' => $ this ->urlBuiler ,
101
+ 'urlBuilder ' => $ this ->urlBuilder ,
102
102
'rssUrlBuilder ' => $ this ->rssUrlBuilderInterface ,
103
103
'localeDate ' => $ this ->timezoneInterface ,
104
104
'dateTime ' => $ this ->dateTime ,
@@ -150,7 +150,7 @@ public function testGetData()
150
150
$ block ->expects ($ this ->once ())->method ('toHtml ' )->will ($ this ->returnValue ('Order Description ' ));
151
151
152
152
$ 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 ' )
154
154
->will ($ this ->returnValue ('http://magento.com/sales/order/view/order_id/1 ' ));
155
155
$ this ->assertEquals ($ this ->feedData , $ this ->model ->getRssData ());
156
156
}
0 commit comments