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

Fix tests on client start #613

Merged
merged 1 commit into from
Feb 14, 2022
Merged

Fix tests on client start #613

merged 1 commit into from
Feb 14, 2022

Conversation

unflxw
Copy link
Contributor

@unflxw unflxw commented Feb 11, 2022

[skip changeset]

These tests would assert the opposite behaviour of that which they claimed to test. The test itself was broken, as it was spying on a previously created client object, then creating a new client object and performing actions on it, as pointed out by @tombruijn in #612.

This commit fixes the existing tests so they perform the right assertions, and adds a new one for the behaviour implied by the tests.

These tests would assert the opposite behaviour of that which they
claimed to test. The test itself was broken, as it was spying on
a previously created client object, then creating a new client
object and performing actions on it, [as pointed out by @tombruijn
in #612][comment].

This commit fixes the existing tests so they perform the right
assertions, and adds a new one for the behaviour implied by the
tests.

[comment]: #612 (comment)
@backlog-helper
Copy link

backlog-helper bot commented Feb 11, 2022

✔️ All good!

New issue guide | Backlog management | Rules | Feedback

@unflxw unflxw merged commit 6f2f1f7 into main Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants