diff --git a/lib/Trolley/Version.php b/lib/Trolley/Version.php index a98c788..d24c4f9 100644 --- a/lib/Trolley/Version.php +++ b/lib/Trolley/Version.php @@ -10,9 +10,9 @@ class Version /** * class constants */ - const MAJOR = 2; - const MINOR = 1; - const TINY = 5; + const MAJOR = 3; + const MINOR = 0; + const TINY = 0; /** * @ignore diff --git a/tests/integration/PaymentTest.php b/tests/integration/PaymentTest.php index 78a4a28..64853f6 100644 --- a/tests/integration/PaymentTest.php +++ b/tests/integration/PaymentTest.php @@ -22,7 +22,7 @@ public function testAllPayments() $fee = $pay->fees; $sourceAmount = $pay->sourceAmount; } - $this->assertTrue($payments->maximumCount() > 0 && $fee > 0 && $sourceAmount > 0); + $this->assertTrue($payments->maximumCount() > 0 && $sourceAmount > 0); } //Function which will test to see if they search works by only selecting the @@ -31,7 +31,7 @@ public function testOnlyGet10Payments() { $recipientId = 'R-4QoXiSPjbnLuUmQR2bgb8C'; - $payments = Trolley\Payment::search($recipientId, ['pageSize' => 10]); + $payments = Trolley\Payment::search($recipientId, ['page' => 1, 'pageSize' => 10]); $count = 0; foreach($payments as $pay) { @@ -39,6 +39,6 @@ public function testOnlyGet10Payments() $sourceAmount = $pay->sourceAmount; $count++; } - $this->assertTrue($count == 10 && $fee > 0 && $sourceAmount > 0); + $this->assertTrue($count == 10 && $sourceAmount > 0); } }