From 5a8c1c54490c336bdfed723d5851fb7e1b7b07a8 Mon Sep 17 00:00:00 2001 From: Aki Ojalehto Date: Tue, 16 Jan 2018 07:24:12 +0200 Subject: [PATCH] Fix a typo in variable name --- .../Test/Unit/Model/Report/TransactionsCollectionTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/code/Magento/Braintree/Test/Unit/Model/Report/TransactionsCollectionTest.php b/app/code/Magento/Braintree/Test/Unit/Model/Report/TransactionsCollectionTest.php index e43e67c18744f..d9a33bfea02ca 100644 --- a/app/code/Magento/Braintree/Test/Unit/Model/Report/TransactionsCollectionTest.php +++ b/app/code/Magento/Braintree/Test/Unit/Model/Report/TransactionsCollectionTest.php @@ -125,7 +125,7 @@ public function testGetItemsEmptyCollection() */ public function testGetItemsWithLimit() { - $transations = range(1, TransactionsCollection::TRANSACTION_MAXIMUM_COUNT + 10); + $transactions = range(1, TransactionsCollection::TRANSACTION_MAXIMUM_COUNT + 10); $this->filterMapperMock->expects($this->once()) ->method('getFilter') @@ -133,7 +133,7 @@ public function testGetItemsWithLimit() $this->braintreeAdapterMock->expects($this->once()) ->method('search') - ->willReturn($transations); + ->willReturn($transactions); $this->entityFactoryMock->expects($this->exactly(TransactionsCollection::TRANSACTION_MAXIMUM_COUNT)) ->method('create') @@ -157,7 +157,7 @@ public function testGetItemsWithLimit() */ public function testGetItemsWithNullLimit() { - $transations = range(1, TransactionsCollection::TRANSACTION_MAXIMUM_COUNT + 10); + $transactions = range(1, TransactionsCollection::TRANSACTION_MAXIMUM_COUNT + 10); $this->filterMapperMock->expects($this->once()) ->method('getFilter') @@ -165,7 +165,7 @@ public function testGetItemsWithNullLimit() $this->braintreeAdapterMock->expects($this->once()) ->method('search') - ->willReturn($transations); + ->willReturn($transactions); $this->entityFactoryMock->expects($this->exactly(TransactionsCollection::TRANSACTION_MAXIMUM_COUNT)) ->method('create')