Hi guys!
My student asked my why his unit tests don't work as they should, and I just could answer him. Here is the simplified case.
There is a class with a required unique property Name:
ClassPropertyAsAnd there is an inherited class:
%PersistentWhat I expect to happen, is when I save two objects of class with the same value of property Name, for the second one to get an error stating that it violates the unique index.
##classRight now, it saves both objects without any problems. And there's no index global as well.

.png)
.png)
.png)


