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

[Bug] Deletion date is off by a month in tests #134

Closed
nwittstruck opened this issue Feb 2, 2023 · 0 comments · Fixed by #135
Closed

[Bug] Deletion date is off by a month in tests #134

nwittstruck opened this issue Feb 2, 2023 · 0 comments · Fixed by #135

Comments

@nwittstruck
Copy link
Contributor

nwittstruck commented Feb 2, 2023


  1) test show_delete_after_text/1 shows relative deletion date for qr codes that should be deleted automatically (QrstorageWeb.QrCodeViewTest)
     test/qrstorage_web/views/qr_code_view_test.exs:26
     Assertion with =~ failed
     code:  assert text =~ "in 5 months"
     left:  "in 4 months"
     right: "in 5 months"
     stacktrace:
       test/qrstorage_web/views/qr_code_view_test.exs:29: (test)

See bitwalker/timex#732 for more information

nwittstruck added a commit to b310-digital/qrstorage that referenced this issue Feb 2, 2023
@nwittstruck nwittstruck changed the title [Bug] Deletion date is sometimes off by a month [Bug] Deletion date is off by a month in tests Feb 2, 2023
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

Successfully merging a pull request may close this issue.

1 participant