diff --git a/test/integration/Resources/PaypageV2Test.php b/test/integration/Resources/PaypageV2Test.php index c583bcb7..2b6b8238 100644 --- a/test/integration/Resources/PaypageV2Test.php +++ b/test/integration/Resources/PaypageV2Test.php @@ -249,6 +249,18 @@ public function createPaypageWithRiskData() $this->assertCreatedPaypage($paypage); } + /** @test + */ + public function createPaypageWithZeroAmount() + { + $unzer = $this->getUnzerObject(); + + $paypage = new Paypage(0, 'EUR', 'preauthorize'); + $unzer->createPaypage($paypage); + + $this->assertCreatedPaypage($paypage); + } + /** * @param Paypage $paypage * @return void