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
The newBook method creates books for testing purposes. If the book already exists because it was created previously during the test suite, it will delete it first. All of these are performed over a transaction, to avoid the Query Builder failing during the process of finding the information, since it does not know queries are being faked.
As a Developer, I want to have a reliable method to create books for our test suite.
DoD: perform an appropriate DB clean-up process after each test case or instruct the Query Builder to use WP test DB.
The text was updated successfully, but these errors were encountered:
The newBook method creates books for testing purposes. If the book already exists because it was created previously during the test suite, it will delete it first. All of these are performed over a transaction, to avoid the Query Builder failing during the process of finding the information, since it does not know queries are being faked.
As a Developer, I want to have a reliable method to create books for our test suite.
DoD: perform an appropriate DB clean-up process after each test case or instruct the Query Builder to use WP test DB.
The text was updated successfully, but these errors were encountered: