Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 86e035f

Browse files
committed
Cover \Magento\CheckoutAgreements\Model\ResourceModel\Agreement\Grid\Collection class with Integration test
1 parent 3cba00c commit 86e035f

File tree

1 file changed

+5
-2
lines changed
  • dev/tests/integration/testsuite/Magento/CheckoutAgreements/Model/ResourceModel/Grid

1 file changed

+5
-2
lines changed

dev/tests/integration/testsuite/Magento/CheckoutAgreements/Model/ResourceModel/Grid/CollectionTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ class CollectionTest extends \PHPUnit\Framework\TestCase
2525
*/
2626
public function setUp()
2727
{
28-
$this->collection = Bootstrap::getObjectManager()->create(Collection::class);
28+
$this->collection = Bootstrap::getObjectManager()
29+
->create(Collection::class);
2930
}
3031

3132
/**
@@ -35,7 +36,9 @@ public function setUp()
3536
*/
3637
public function testAddStoresToFilter(): void
3738
{
38-
$collectionSize = $this->collection->addStoreFilter(1)->load(false, false)->getSize();
39+
$collectionSize = $this->collection->addStoreFilter(1)
40+
->load(false, false)
41+
->getSize();
3942
$this->assertEquals(2, $collectionSize);
4043
}
4144
}

0 commit comments

Comments
 (0)