We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbeecd9 commit 61d8e3cCopy full SHA for 61d8e3c
tests/Omnipay/Common/Message/AbstractRequestTest.php
@@ -199,6 +199,12 @@ public function testGetAmountInteger()
199
$this->assertSame(1366, $this->request->getAmountInteger());
200
}
201
202
+ public function testGetAmountIntegerNull()
203
+ {
204
+ $this->assertSame($this->request, $this->request->setAmount(null));
205
+ $this->assertSame(null, $this->request->getAmountInteger());
206
+ }
207
+
208
public function testSetAmountInteger()
209
{
210
$this->assertSame($this->request, $this->request->setAmountInteger(1366));
0 commit comments