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
Implement #findOrCreate() which shall create entity(is) in target system if there is no entities needed where fetched.
UseCase:
For instance, there is no access to user accounts on Staging/PreProd environment or when you are working with prod DB dump.
You can create new user from tests but DataPool state will differ from real state. So, it'd be good to update DataPool accordingly - to add new user there as well. In this case further tests will be able to reuse this user if necessary.
The text was updated successfully, but these errors were encountered:
Implement #findOrCreate() which shall create entity(is) in target system if there is no entities needed where fetched.
UseCase:
For instance, there is no access to user accounts on Staging/PreProd environment or when you are working with prod DB dump.
You can create new user from tests but DataPool state will differ from real state. So, it'd be good to update DataPool accordingly - to add new user there as well. In this case further tests will be able to reuse this user if necessary.
The text was updated successfully, but these errors were encountered: