You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I have an issue when launch my first test
./vendor/bin/phpunit tests/
PHP Fatal error: Class 'PHPUnit_Framework_TestCase' not found in /Users/testIntuitive/vendor/laracasts/integrated/src/Extensions/Goutte.php on line 11
PHP Stack trace:
what i do
//composer require phpunit/phpunit --dev
//composer require laracasts/integrated --dev
<?php
use Laracasts\Integrated\Extensions\Goutte as IntegrationTest;
class ExampleTest extends IntegrationTest
{
protected $baseUrl = 'http://localhost:8888';
/** @test */
function it_first_test()
{
# code...
$this->visit('/');
}
}
?>
./vendor/bin/phpunit --version
PHPUnit 8.1.3 by Sebastian Bergmann and contributors.
@johngarciasterequip You're using a newer version of PHPUnit which has been updated to use the PHPUnit\Framework\TestCase class instead. This package currently doesn't support that newer version of PHPUnit.
Also, stated in the README, most of the functionality of this package is now available at the core of Laravel. In theory, you don't need this package anymore ;)
Hi
I have an issue when launch my first test
./vendor/bin/phpunit tests/
PHP Fatal error: Class 'PHPUnit_Framework_TestCase' not found in /Users/testIntuitive/vendor/laracasts/integrated/src/Extensions/Goutte.php on line 11
PHP Stack trace:
what i do
./vendor/bin/phpunit --version
PHPUnit 8.1.3 by Sebastian Bergmann and contributors.
php -v
PHP 7.2.9 (cli) (built: Aug 21 2018 07:42:00) ( NTS )
what is wrong ?
The text was updated successfully, but these errors were encountered: