File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
app/code/Magento/AsynchronousOperations/Test/Unit/Model
dev/tests/integration/testsuite/Magento/AsynchronousOperations/Cron Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 22
22
use Monolog \Test \TestCase ;
23
23
use PHPUnit \Framework \MockObject \MockObject ;
24
24
25
+ /**
26
+ * Test for MessageControllerDecorator
27
+ *
28
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
29
+ */
25
30
class MessageControllerDecoratorTest extends TestCase
26
31
{
27
32
/**
@@ -76,6 +81,9 @@ protected function setUp(): void
76
81
);
77
82
}
78
83
84
+ /**
85
+ * Check that message lock is created and operation start time is updated
86
+ */
79
87
public function testLock (): void
80
88
{
81
89
$ bUuid = uniqid ();
Original file line number Diff line number Diff line change 5
5
*/
6
6
declare (strict_types=1 );
7
7
8
- namespace integration \ testsuite \ Magento \AsynchronousOperations \Cron ;
8
+ namespace Magento \AsynchronousOperations \Cron ;
9
9
10
10
use Magento \AsynchronousOperations \Api \Data \OperationInterface ;
11
11
use Magento \AsynchronousOperations \Api \Data \OperationInterfaceFactory ;
12
12
use Magento \AsynchronousOperations \Api \SaveMultipleOperationsInterface ;
13
- use Magento \AsynchronousOperations \Cron \MarkIncompleteOperationsAsFailed ;
14
13
use Magento \AsynchronousOperations \Model \ResourceModel \Operation \Collection ;
15
14
use Magento \AsynchronousOperations \Model \ResourceModel \Operation \CollectionFactory ;
16
15
use Magento \Framework \App \ResourceConnection ;
You can’t perform that action at this time.
0 commit comments