You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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
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.
The text was updated successfully, but these errors were encountered: