Skip to content

Integration Tests: Consecutive dispatch($uri) on Test AbstractController fails #27299

Closed
@lbajsarowicz

Description

@lbajsarowicz

Preconditions (*)

  1. Integration Tests in Magento 2.4-develop

Steps to reproduce (*)

  1. Create a test that uses \Magento\TestFramework\TestCase\AbstractController::dispatch for dispatching controller.
  2. Add the second request to any other URI.

Expected result (*)

  1. Both requests are dispatched

Actual result (*)

  1. First request is dispatched
  2. Second request throws InvalidArgumentException: Invalid return type

Metadata

Metadata

Assignees

Labels

Fixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Format is validGate 1 Passed. Automatic verification of issue format passedReported on 2.4.0Indicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions