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

Mock the integration tests which currently rely on real data #555

Open
simon-20 opened this issue Mar 27, 2024 · 0 comments
Open

Mock the integration tests which currently rely on real data #555

simon-20 opened this issue Mar 27, 2024 · 0 comments

Comments

@simon-20
Copy link
Contributor

Brief Description
Some of the integration tests use real data, making a connection to the Datastore (dev or production, depending on which test collection one runs). This means they are subject to failing, if either the identifiers which are tested existence of are removed by the publisher (I used a publisher with a policy of never unpublishing activities, but the risk remains), or if someone were to publish an activity with the identifier of the test activities (very unlikely, but possible).

Initial task is to work how much work it would be to mock the relevant tests.

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

1 participant