Skip to content

fix(ships): use current timestamp in zero-deleted cleanup test#2007

Merged
jomcgi merged 1 commit intotest/ships-backend-coveragefrom
fix/ships-zero-deleted-test
Apr 11, 2026
Merged

fix(ships): use current timestamp in zero-deleted cleanup test#2007
jomcgi merged 1 commit intotest/ships-backend-coveragefrom
fix/ships-zero-deleted-test

Conversation

@jomcgi
Copy link
Copy Markdown
Owner

@jomcgi jomcgi commented Apr 11, 2026

Summary

Test plan

🤖 Generated with Claude Code

The test was using a hardcoded timestamp from 2024-03-01 which is
well outside the 7-day retention window, causing the position to be
deleted and the assertion to fail. Replace with datetime.now() so
the timestamp is always within the retention window.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jomcgi jomcgi merged commit 3f30d28 into test/ships-backend-coverage Apr 11, 2026
@jomcgi jomcgi deleted the fix/ships-zero-deleted-test branch April 11, 2026 05:00
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 this pull request may close these issues.

2 participants