We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d0c972 commit ba8d366Copy full SHA for ba8d366
dev/tests/integration/testsuite/Magento/Backend/Controller/Adminhtml/ConsecutiveCallTest.php
@@ -0,0 +1,25 @@
1
+<?php
2
+/**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+declare(strict_types=1);
7
+
8
+namespace Magento\Backend\Controller\Adminhtml;
9
10
+use Magento\TestFramework\TestCase\AbstractBackendController;
11
12
13
+ * @magentoAppArea adminhtml
14
15
+class ConsecutiveCallTest extends AbstractBackendController
16
+{
17
+ /**
18
+ * Consecutive calls were failing due to `$request['dispatched']` not being reset before request
19
20
+ public function testConsecutiveCallShouldNotFail()
21
+ {
22
+ $this->dispatch('backend/admin/auth/login');
23
24
+ }
25
+}
0 commit comments