Skip to content

Class 'PHPUnit\Framework\TestCase' not found when execute UnitTests #11114

@roman204

Description

@roman204

Preconditions

  1. Magento Open Source 2.2

Steps to reproduce

  1. Install Magento 2.2
  2. enter Terminal in Document Root of Magento 2.2
  3. execute ./vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist

Expected result

  1. the tests are running

Actual result

1.Class 'PHPUnit\Framework\TestCase' not found in /var/www/htdocs/setup/src/Magento/Setup/Test/Unit/Console/Command/AdminUserCreateCommandTest.php on line 14
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions