Está retornando 404

Ao rodar "php artisan test" está retornando 404.
Segue o código no github: https://github.com/KovalskiWeb/ead_especializati
Olá, Wesley!
Tudo bem?
Tem os detalhes do erro em sí que está dando o erro de 404?
Qual teste especificamente?
No aguardo de mais detalhes.

Está o correndo esse erro, ao executar: php artisan test
FAIL Tests\Feature\Api\Auth\AuthTest
Expected response status code [422] but received 404.
Failed asserting that 422 is identical to 404.
Pelo Insomnia funciona normalmente. Mas pelo phpunit da esse erro ai.

No arquivo "phpunit.xml" eu tiveu que colocar "APP_URL", agora o comando "php artisan test" roda normalmente. Será que é correto especificar esse "APP_URL" no phpunit ?

O teste não pega essa variável de ambiente para definir o path da URL, precisa passar:
/api/auth
Ou a URL inteira.

Precisa estar logado para conseguir responder a este ticket!
Clique Aqui Para Entrar!