File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev/tests/integration/testsuite/Magento/Sales/Model/Order Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ public function theCorrectLabelIsUsedDependingOnTheAreaProvider()
3838 public function testTheCorrectLabelIsUsedDependingOnTheArea ($ area , $ result )
3939 {
4040 $ objectManager = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ();
41- $ objectManager ->get (\Magento \Framework \App \State::class)->setAreaCode (' adminhtml ' );
41+ $ objectManager ->get (\Magento \Framework \App \State::class)->setAreaCode ($ area );
4242
4343 /** @var \Magento\Sales\Model\Order $order */
4444 $ order = $ objectManager ->create (\Magento \Sales \Model \Order::class);
4545 $ order ->loadByIncrementId ('100000001 ' );
4646
47- $ this ->assertEquals (' Example ' , $ order ->getStatusLabel ());
47+ $ this ->assertEquals ($ result , $ order ->getStatusLabel ());
4848 }
4949}
You can’t perform that action at this time.
0 commit comments