File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
src/Omnipay/Common/Message
tests/Omnipay/Common/Message Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,11 @@ public function getRequest()
67
67
return $ this ->request ;
68
68
}
69
69
70
+ public function isPending ()
71
+ {
72
+ return false ;
73
+ }
74
+
70
75
public function isRedirect ()
71
76
{
72
77
return false ;
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ public function testConstruct()
24
24
25
25
public function testDefaultMethods ()
26
26
{
27
+ $ this ->assertFalse ($ this ->response ->isPending ());
27
28
$ this ->assertFalse ($ this ->response ->isRedirect ());
28
29
$ this ->assertNull ($ this ->response ->getData ());
29
30
$ this ->assertNull ($ this ->response ->getTransactionReference ());
@@ -91,6 +92,11 @@ public function testGetRedirectResponseInvalidMethod()
91
92
92
93
class AbstractResponseTest_MockRedirectResponse extends AbstractResponse implements RedirectResponseInterface
93
94
{
95
+ public function isPending ()
96
+ {
97
+ return false ;
98
+ }
99
+
94
100
public function isSuccessful ()
95
101
{
96
102
return false ;
You can’t perform that action at this time.
0 commit comments