mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 06:26:53 +00:00
Add ttl for braintree writes to onetime donation table
This commit is contained in:
1 parent
372e3f83d2
commit
a37acd1f42
5 files changed
+15
-5
No files matched your search
+2
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user