Class PHPUnit \ DbUnit \ TestCase not found

0

Galera

When I run a test in phpunit whose class extends from \ PHPUnit \ DbUnit \ TestCase I get this message:

PHP Fatal error:  Class 'PHPUnit\DbUnit\TestCase' not found

But when I run a test of a class that extends from \ PHPUnit \ Framework \ TestCase it works!

This is my composer.json:

{
  "require": {
  },
  "require-dev": {
    "phpunit/phpunit": "6.0.7",
    "phpunit/dbunit": "^3.0"
  }
}

Any ideas?

    
asked by anonymous 06.05.2017 / 01:36

0 answers