Skip to content

Commit 49812be

Browse files
committed
Shorten test variable name
1 parent b783a6b commit 49812be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/Indexer/Test/Unit/Console/Command/IndexerStatusCommandTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ class IndexerStatusCommandTest extends AbstractIndexerCommandCommonSetup
2828
/**
2929
* @var Collection|\PHPUnit_Framework_MockObject_MockObject
3030
*/
31-
protected $indexerCollectionMock;
31+
protected $indexerCollection;
3232

3333
public function setUp()
3434
{
3535
parent::setUp();
3636

37-
$this->indexerCollectionMock = $this->getMockBuilder(Collection::class)
37+
$this->indexerCollection = $this->getMockBuilder(Collection::class)
3838
->disableOriginalConstructor()
3939
->getMock();
4040

4141
$this->collectionFactory
4242
->method('create')
43-
->willReturn($this->indexerCollectionMock);
43+
->willReturn($this->indexerCollection);
4444
}
4545

4646
/**
@@ -272,7 +272,7 @@ protected function getIndexerMock(array $methods = [], array $data = [])
272272
*/
273273
protected function initIndexerCollectionByItems(array $items)
274274
{
275-
$this->indexerCollectionMock
275+
$this->indexerCollection
276276
->method('getItems')
277277
->with()
278278
->willReturn($items);

0 commit comments

Comments
 (0)