Fix flaky test due to new attachment expiry cap logic

This commit is contained in:
binwiederhier 2026-03-25 21:00:58 -04:00
parent a2206dba9f
commit 15d963cb53

View file

@ -2414,6 +2414,7 @@ func TestServer_PublishAttachmentWithTierBasedLimits(t *testing.T) {
require.Nil(t, s.userManager.AddTier(&user.Tier{
Code: "test",
MessageLimit: 100,
MessageExpiryDuration: time.Hour,
AttachmentFileSizeLimit: 50_000,
AttachmentTotalSizeLimit: 200_000,
AttachmentExpiryDuration: 30 * time.Second,