Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute tests (Unit and Feature tests) via PHPUnit #1719

Open
FahryIbrahim opened this issue Apr 6, 2024 · 0 comments
Open

Execute tests (Unit and Feature tests) via PHPUnit #1719

FahryIbrahim opened this issue Apr 6, 2024 · 0 comments

Comments

@FahryIbrahim
Copy link

Run vendor/bin/phpunit
PHPUnit 10.0.9 by Sebastian Bergmann and contributors.

Runtime: PHP 8.1.2-1ubuntu2.14
Configuration: /home/runner/work/Test-Laravel-Routes/Test-Laravel-Routes/phpunit.xml

......F. 8 / 8 (100%)

Time: 00:00.525, Memory: 40.50 MB

There was 1 failure:

  1. Tests\Feature\RoutesTest::test_task_api_crud_is_working
    Expected response status code [200] but received 404.
    Failed asserting that 200 is identical to 404.

/home/runner/work/Test-Laravel-Routes/Test-Laravel-Routes/vendor/laravel/framework/src/Illuminate/Testing/TestResponse.php:123
/home/runner/work/Test-Laravel-Routes/Test-Laravel-Routes/vendor/laravel/framework/src/Illuminate/Testing/Concerns/AssertsStatusCodes.php:16
/home/runner/work/Test-Laravel-Routes/Test-Laravel-Routes/tests/Feature/RoutesTest.php:83
/home/runner/work/Test-Laravel-Routes/Test-Laravel-Routes/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestCase.php:173

FAILURES!
Tests: 8, Assertions: 29, Failures: 1.
Error: Process completed with exit code 1.

@FahryIbrahim FahryIbrahim changed the title Error Execute tests (Unit and Feature tests) via PHPUnit Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant