File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
dev/tests/integration/testsuite/Magento/Backend/Controller/Adminhtml Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
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
+ $ this ->dispatch ('backend/admin/auth/login ' );
24
+ }
25
+ }
You can’t perform that action at this time.
0 commit comments