Skip to content

Commit f6a4cde

Browse files
author
Alexander Makeev
committed
MAGETWO-48192: More than 100 rows cannot be exported in Braintree Settlement Report
- Fixed static tests
1 parent 3719481 commit f6a4cde

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/code/Magento/BraintreeTwo/Test/Unit/Model/Report/TransactionsCollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function testGetItemsWithNullLimit()
177177
$this->braintreeAdapterMock,
178178
$this->filterMapperMock
179179
);
180-
$collection->setPageSize(NULL);
180+
$collection->setPageSize(null);
181181

182182
$collection->addFieldToFilter('orderId', ['like' => '0']);
183183
$items = $collection->getItems();

app/code/Magento/Ui/Test/Unit/Model/Export/ConvertToXmlTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
use Magento\Framework\Api\Search\SearchResultInterface;
2222
use Magento\Framework\View\Element\UiComponent\DataProvider\DataProviderInterface;
2323

24+
/**
25+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
26+
*/
2427
class ConvertToXmlTest extends \PHPUnit_Framework_TestCase
2528
{
2629
/**

0 commit comments

Comments
 (0)