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

[Enhancement]: Unit test has issue if unique rule used in model #966

Open
aneetkukreja1 opened this issue Jun 19, 2021 · 2 comments
Open

Comments

@aneetkukreja1
Copy link

General unique rule syntax is unique:table, but it creates issue in update request to ignore current model.
Currently it works if unique rule is defined as unique:table,fieldName but it should also work as unique:table only.

@vishalinfyom
Copy link
Contributor

vishalinfyom commented Jul 24, 2021

Hii @aneetkukreja1 ,

We have write sample unite tests, that are not using $rules, so it will run fine.

Still, let us know the exact steps, so we can produce it.

Thanks

@mitulgolakiya mitulgolakiya changed the title Unit test has issue if unique rule used in model [Enhancement]: Unit test has issue if unique rule used in model Jan 28, 2022
@mitulgolakiya
Copy link
Member

I think we already have an open issue for unique handling. so this should be handled when that is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants