You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/code/Magento/AsynchronousOperations/Model/ResourceModel/System/Message/Collection/Synchronized/Plugin.php
Copy file name to clipboardExpand all lines: app/code/Magento/AsynchronousOperations/Test/Unit/Model/ResourceModel/System/Message/Collection/Synchronized/PluginTest.php
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@
27
27
*/
28
28
class PluginTest extends TestCase
29
29
{
30
+
privateconstMESSAGES_LIMIT = 5;
30
31
/**
31
32
* @var Plugin
32
33
*/
@@ -171,7 +172,7 @@ public function testAfterTo($operationDetails)
171
172
publicfunctiontestAfterToWithMessageLimit()
172
173
{
173
174
$result = ['items' =>[], 'totalRecords' => 1];
174
-
$messagesCount = Plugin::MESSAGES_LIMIT + 1;
175
+
$messagesCount = self::MESSAGES_LIMIT + 1;
175
176
$userId = 1;
176
177
$bulkUuid = 2;
177
178
$bulkArray = [
@@ -187,14 +188,14 @@ public function testAfterToWithMessageLimit()
0 commit comments