mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 06:06:53 +00:00
Attach client platforms when creating donations
This commit is contained in:
1 parent
b8f64fe3d4
commit
ed72d7f9ec
6 files changed
+61
-26
No files matched your search
+2
-2
@@ -231,7 +231,7 @@ class SubscriptionControllerTest {
|
||||
void testCreateBoostPaymentIntent() {
|
||||
when(STRIPE_MANAGER.getSupportedCurrenciesForPaymentMethod(PaymentMethod.CARD))
|
||||
.thenReturn(Set.of("usd", "jpy", "bif", "eur"));
|
||||
when(STRIPE_MANAGER.createPaymentIntent(anyString(), anyLong(), anyLong()))
|
||||
when(STRIPE_MANAGER.createPaymentIntent(anyString(), anyLong(), anyLong(), any()))
|
||||
.thenReturn(CompletableFuture.completedFuture(PAYMENT_INTENT));
|
||||
|
||||
String clientSecret = "some_client_secret";
|
||||
@@ -584,7 +584,7 @@ class SubscriptionControllerTest {
|
||||
final String customerId = "some-customer-id";
|
||||
final ProcessorCustomer customer = new ProcessorCustomer(
|
||||
customerId, SubscriptionProcessor.STRIPE);
|
||||
when(STRIPE_MANAGER.createCustomer(any()))
|
||||
when(STRIPE_MANAGER.createCustomer(any(), any()))
|
||||
.thenReturn(CompletableFuture.completedFuture(customer));
|
||||
|
||||
final Map<String, AttributeValue> dynamoItemWithProcessorCustomer = new HashMap<>(dynamoItem);
|
||||
|
||||
Reference in new issue
Block a user