mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-22 04:18:04 +01:00
Move common subscription management out of controller
This commit is contained in:
committed by
ravi-signal
parent
a8eaf2d0ad
commit
97e566d470
@@ -8,9 +8,9 @@ class ProcessorCustomerTest {
|
||||
|
||||
@Test
|
||||
void toDynamoBytes() {
|
||||
final ProcessorCustomer processorCustomer = new ProcessorCustomer("Test", SubscriptionProcessor.BRAINTREE);
|
||||
final ProcessorCustomer processorCustomer = new ProcessorCustomer("Test", PaymentProvider.BRAINTREE);
|
||||
|
||||
assertArrayEquals(new byte[] { SubscriptionProcessor.BRAINTREE.getId(), 'T', 'e', 's', 't' },
|
||||
assertArrayEquals(new byte[] { PaymentProvider.BRAINTREE.getId(), 'T', 'e', 's', 't' },
|
||||
processorCustomer.toDynamoBytes());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user