Skip to content

PHPUnit Tests bundled with Magento fatal errors #27638

Closed
@lbajsarowicz

Description

@lbajsarowicz

Preconditions (*)

  1. Vanilla Magento 2.3.4

Steps to reproduce (*)

  1. vendor/bin/phpunit -c dev/tests/phpunit.xml.dist

Expected result (*)

  1. Tests executed till the end

Actual result (*)

  1. Fatal errors:
Fatal error: Class Mock_CartExtensionInterface_0ba80a0b contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Magento\Quote\Api\Data\CartExtensionInterface::getAmazonOrderReferenceId, Magento\Quote\Api\Data\CartExtensionInterface::setAmazonOrderReferenceId) in /var/www/html/vendor/phpunit/phpunit-mock-objects/src/Generator.php(264) : eval()'d code on line 1

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.3.4Indicates 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