Add ttl for braintree writes to onetime donation table

This commit is contained in:
Katherine authored and GitHub committed 2023-12-15 13:37:35 -05:00
1 parent 372e3f83d2
commit a37acd1f42
5 files changed
+15 -5

No files matched your search

@@ -7,6 +7,7 @@ package org.whispersystems.textsecuregcm.storage;
import static org.assertj.core.api.Assertions.assertThat;
import java.time.Duration;
import java.time.Instant;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -21,6 +22,7 @@ public class OnetimeDonationsManagerTest {
void beforeEach() {
oneTimeDonationsManager = new OneTimeDonationsManager(
DynamoDbExtensionSchema.Tables.ONETIME_DONATIONS.tableName(),
Duration.ofDays(90),
DYNAMO_DB_EXTENSION.getDynamoDbAsyncClient());
}