File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ class Version
1010 /**
1111 * class constants
1212 */
13- const MAJOR = 2 ;
14- const MINOR = 1 ;
15- const TINY = 5 ;
13+ const MAJOR = 3 ;
14+ const MINOR = 0 ;
15+ const TINY = 0 ;
1616
1717 /**
1818 * @ignore
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public function testAllPayments()
2222 $ fee = $ pay ->fees ;
2323 $ sourceAmount = $ pay ->sourceAmount ;
2424 }
25- $ this ->assertTrue ($ payments ->maximumCount () > 0 && $ fee > 0 && $ sourceAmount > 0 );
25+ $ this ->assertTrue ($ payments ->maximumCount () > 0 && $ sourceAmount > 0 );
2626 }
2727
2828 //Function which will test to see if they search works by only selecting the
@@ -31,14 +31,14 @@ public function testOnlyGet10Payments()
3131 {
3232 $ recipientId = 'R-4QoXiSPjbnLuUmQR2bgb8C ' ;
3333
34- $ payments = Trolley \Payment::search ($ recipientId , ['pageSize ' => 10 ]);
34+ $ payments = Trolley \Payment::search ($ recipientId , ['page ' => 1 , ' pageSize ' => 10 ]);
3535 $ count = 0 ;
3636 foreach ($ payments as $ pay )
3737 {
3838 $ fee = $ pay ->fees ;
3939 $ sourceAmount = $ pay ->sourceAmount ;
4040 $ count ++;
4141 }
42- $ this ->assertTrue ($ count == 10 && $ fee > 0 && $ sourceAmount > 0 );
42+ $ this ->assertTrue ($ count == 10 && $ sourceAmount > 0 );
4343 }
4444}
You can’t perform that action at this time.
0 commit comments