Skip to content

Commit 1cb3488

Browse files
committed
#19913: Static test fix.
1 parent 13ca4a2 commit 1cb3488

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

app/code/Magento/Webapi/Controller/PathProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
2-
32
/**
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
6+
77
namespace Magento\Webapi\Controller;
88

99
use Magento\Framework\App\ObjectManager;

app/code/Magento/Webapi/Test/Unit/Controller/PathProcessorTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
use Magento\Store\Model\Store;
1010

11+
/**
12+
* Test for Magento\Webapi\Controller\PathProcessor class.
13+
*/
1114
class PathProcessorTest extends \PHPUnit\Framework\TestCase
1215
{
1316
/** @var \PHPUnit_Framework_MockObject_MockObject | \Magento\Store\Model\StoreManagerInterface */
@@ -59,7 +62,7 @@ public function testAllStoreCode($storeCodeInPath, $storeCodeSet, $setCurrentSto
5962
$this->storeManagerMock->expects($this->exactly($setCurrentStoreCallCtr))
6063
->method('setCurrentStore')
6164
->with($storeCodeSet);
62-
if($setCurrentStoreCallCtr > 0) {
65+
if ($setCurrentStoreCallCtr > 0) {
6366
$this->localeResolverMock->expects($this->once())
6467
->method('emulate');
6568
}

app/code/Magento/WebapiAsync/Test/Unit/Controller/PathProcessorTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
use Magento\Store\Model\Store;
1212

13+
/**
14+
* Test for Magento\Webapi\Controller\PathProcessor class.
15+
*/
1316
class PathProcessorTest extends \PHPUnit\Framework\TestCase
1417
{
1518
/** @var \PHPUnit_Framework_MockObject_MockObject | \Magento\Store\Model\StoreManagerInterface */

dev/tests/integration/testsuite/Magento/Webapi/Controller/PathProcessorTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
use Magento\Store\Model\Store;
1010

11+
/**
12+
* Test for Magento\Webapi\Controller\PathProcessor class.
13+
*/
1114
class PathProcessorTest extends \PHPUnit\Framework\TestCase
1215
{
1316
/**

0 commit comments

Comments
 (0)