mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 11:20:47 +01: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,
|
state = state,
|
||||||
subscriberId = subscriberId,
|
subscriberId = subscriberId,
|
||||||
endOfPeriod = null,
|
endOfPeriod = null,
|
||||||
inAppPaymentData = iap.data.copy(
|
inAppPaymentData = iap.data.newBuilder()
|
||||||
badge = badge,
|
.badge(badge)
|
||||||
waitForAuth = null,
|
.redemption(redemptionState)
|
||||||
stripeActionComplete = null,
|
.build()
|
||||||
payPalActionComplete = null,
|
|
||||||
payPalRequiresAction = null,
|
|
||||||
stripeRequiresAction = null,
|
|
||||||
redemption = redemptionState
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
return iap
|
return iap
|
||||||
|
|||||||
Reference in New Issue
Block a user