Fix flaky test due to new attachment expiry cap logic

This commit is contained in:
binwiederhier committed 2026-03-25 21:00:58 -04:00
1 parent a2206dba9f
commit 15d963cb53
1 file changed
+1
+1
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,