laravel / jetstream

Tailwind scaffolding for the Laravel framework.
https://jetstream.laravel.com
MIT License
3.95k stars 809 forks source link

Default phpunit tests do not pass Fortify registration feature is disabled #747

Closed isometriq closed 3 years ago

isometriq commented 3 years ago

Description:

The test should check if feature is not enabled instead of failing, like so:

if (! Features::enabled(Features::registration())) {
    return $this->markTestSkipped('Registration not enabled.');
}

This is what other features do, like email verification.

Steps To Reproduce:

driesvints commented 3 years ago

Remove tests that you don't need.