Support the ongoing development of Laravel.io →
Validation Architecture Testing
Last updated 2 years ago.
0

The problem was coming from the fact that the test was using the same data (username, email and password) as a user that was already in the database.

Since the validation check the uniqueness of each new user, the test was failing.

I just removed the existing user from the database and the test passed.

Last updated 2 years ago.
0

Same error but there is no records in db.

Last updated 9 years ago.
0

just change the username and email with different data. and should passed it. and no need to insert data on db;

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.