Skip to content

Problem creating books for test environment #99

@richard015ar

Description

@richard015ar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions