mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Utilize newBuilder instead of copy in unit test.
This commit is contained in:
committed by
Cody Henthorne
parent
1adcfd5abb
commit
5d4fec2e73
@@ -568,15 +568,10 @@ class InAppPaymentRecurringContextJobTest {
|
||||
state = state,
|
||||
subscriberId = subscriberId,
|
||||
endOfPeriod = null,
|
||||
inAppPaymentData = iap.data.copy(
|
||||
badge = badge,
|
||||
waitForAuth = null,
|
||||
stripeActionComplete = null,
|
||||
payPalActionComplete = null,
|
||||
payPalRequiresAction = null,
|
||||
stripeRequiresAction = null,
|
||||
redemption = redemptionState
|
||||
)
|
||||
inAppPaymentData = iap.data.newBuilder()
|
||||
.badge(badge)
|
||||
.redemption(redemptionState)
|
||||
.build()
|
||||
)
|
||||
|
||||
return iap
|
||||
|
||||
Reference in New Issue
Block a user