We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ebcd7a commit a933cf7Copy full SHA for a933cf7
dev/tests/integration/testsuite/Magento/Backend/Block/Dashboard/Orders/GridTest.php
@@ -8,10 +8,6 @@
8
9
use Magento\Backend\Block\Template\Context;
10
11
-/**
12
- * @magentoAppIsolation enabled
13
- * @magentoDbIsolation enabled
14
- */
15
class GridTest extends \PHPUnit\Framework\TestCase
16
{
17
/**
@@ -39,6 +35,10 @@ protected function setUp()
39
35
public function testGetPreparedCollection()
40
36
41
37
$collection = $this->block->getPreparedCollection();
42
- $this->assertEquals('firstname lastname', $collection->getItems()[1]->getCustomer());
38
+ foreach ($collection->getItems() as $item) {
+ if ($item->getIncrementId() == '100000001') {
+ $this->assertEquals('firstname lastname', $item->getCustomer());
+ }
43
}
44
0 commit comments