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

Problem creating books for test environment #99

Open
richard015ar opened this issue Mar 14, 2024 · 0 comments
Open

Problem creating books for test environment #99

richard015ar opened this issue Mar 14, 2024 · 0 comments

Comments

@richard015ar
Copy link
Contributor

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.

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

No branches or pull requests

2 participants