Skip to content

Commit 70e98ec

Browse files
committed
Add notifyUrl tests
1 parent ca58aa1 commit 70e98ec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/Omnipay/Common/Message/AbstractRequestTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,10 @@ public function testCancelUrl()
143143
$this->assertSame($this->request, $this->request->setCancelUrl('https://www.example.com/cancel'));
144144
$this->assertSame('https://www.example.com/cancel', $this->request->getCancelUrl());
145145
}
146+
147+
public function testNotifyUrl()
148+
{
149+
$this->assertSame($this->request, $this->request->setNotifyUrl('https://www.example.com/notify'));
150+
$this->assertSame('https://www.example.com/notify', $this->request->getNotifyUrl());
151+
}
146152
}

0 commit comments

Comments
 (0)