File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
raveandroid/src/test/java/com/flutterwave/raveandroid Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
package com .flutterwave .raveandroid ;
2
2
3
+ import android .app .Activity ;
4
+
3
5
import org .junit .Test ;
4
6
5
7
import java .util .ArrayList ;
@@ -23,7 +25,7 @@ public class RavePayManagerTest {
23
25
@ Test
24
26
public void ravePayManagerSetup_PaymentTypesNotAddedMoreThanOnce () {
25
27
// Attempt to add same payment types multiple times
26
- RavePayManager manager = new RavePayManager (null );
28
+ RavePayManager manager = new RavePayManager (( Activity ) null );
27
29
manager
28
30
.acceptCardPayments (true )
29
31
.acceptAccountPayments (true )
@@ -79,7 +81,7 @@ public void ravePayManagerSetup_PaymentTypesNotAddedMoreThanOnce() {
79
81
80
82
@ Test
81
83
public void ravePayManagerSetup_AllPaymentTypesAddedAreInPaymentTypesList () {
82
- RavePayManager manager = new RavePayManager (null );
84
+ RavePayManager manager = new RavePayManager (( Activity ) null );
83
85
manager .acceptCardPayments (true )
84
86
.acceptAccountPayments (true )
85
87
.acceptAchPayments (true )
You can’t perform that action at this time.
0 commit comments