Skip to content

Tests: Update Tests to match API behaviour #103

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

Merged
merged 4 commits into from
Mar 28, 2025
Merged

Tests: Update Tests to match API behaviour #103

merged 4 commits into from
Mar 28, 2025

Conversation

n7studios
Copy link
Contributor

Summary

Updates existing tests:

  • Tags: creating a tag that exists returns the tag (previously, the API would return an error)
  • Before / after params: set sensible before/after dates, now the test Kit account has had the majority of its test subscribers removed
  • Apply the timezone offset (-04:00 or -05:00) depending on whether daylight savings time is active

Testing

Existing tests pass.

Checklist

@n7studios n7studios self-assigned this Mar 28, 2025
@n7studios n7studios requested review from a team, noelherrick and corydhmiller and removed request for a team March 28, 2025 03:05
@n7studios n7studios marked this pull request as ready for review March 28, 2025 03:05
@n7studios n7studios merged commit bc1b033 into master Mar 28, 2025
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants