This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
app/code/Magento/Sales/Test/Unit/Model/ResourceModel/Provider
dev/tests/integration/testsuite/Magento/Sales/Model Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 10
10
use Magento \Sales \Model \ResourceModel \Provider \NotSyncedDataProviderInterface ;
11
11
use PHPUnit_Framework_MockObject_MockObject as MockObject ;
12
12
13
+ /**
14
+ * Class for testing not synchronized DataProvider.
15
+ *
16
+ */
13
17
class NotSyncedDataProviderTest extends \PHPUnit \Framework \TestCase
14
18
{
15
19
public function testGetIdsEmpty ()
Original file line number Diff line number Diff line change 16
16
use Magento \TestFramework \Helper \Bootstrap ;
17
17
use Magento \TestFramework \ObjectManager ;
18
18
19
+ /**
20
+ * Class for testing asynchronous inserts into grid.
21
+ *
22
+ */
19
23
class GridAsyncInsertTest extends \PHPUnit \Framework \TestCase
20
24
{
21
25
/**
@@ -56,7 +60,7 @@ protected function setUp()
56
60
$ this ->gridAsyncInsert = $ this ->objectManager ->create (
57
61
GridAsyncInsert::class,
58
62
[
59
- 'entityGrid ' => $ this ->grid
63
+ 'entityGrid ' => $ this ->grid ,
60
64
]
61
65
);
62
66
}
@@ -66,6 +70,7 @@ protected function setUp()
66
70
*
67
71
* @magentoConfigFixture default/dev/grid/async_indexing 1
68
72
* @magentoDataFixture Magento/Sales/_files/order.php
73
+ * @return void
69
74
*/
70
75
public function testExecuteAsyncUpdateOrderGrid ()
71
76
{
@@ -123,6 +128,7 @@ private function getGridRow(int $entityId) : array
123
128
* Perform assertions for updating grid test.
124
129
*
125
130
* @param OrderInterface $order
131
+ * @return void
126
132
*/
127
133
private function performUpdateAssertions (OrderInterface $ order )
128
134
{
You can’t perform that action at this time.
0 commit comments