diff options
author | Mark Wells <mark@freeside.biz> | 2016-11-02 12:05:14 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-11-02 15:34:41 -0700 |
commit | b14a3eaedbfaf0c90c359b03af2e73b2ba6916e5 (patch) | |
tree | 413ed1cf2a8063dadc1733da2326417c5ecc5c7d /FS/t | |
parent | 0c4eaa02f8fa5f2ab1bc1787efb018b10c532145 (diff) |
fix detection of a successful test
Diffstat (limited to 'FS/t')
-rwxr-xr-x | FS/t/suite/03-realtime_pay.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/t/suite/03-realtime_pay.t b/FS/t/suite/03-realtime_pay.t index 17456bb15..fb2aa5741 100755 --- a/FS/t/suite/03-realtime_pay.t +++ b/FS/t/suite/03-realtime_pay.t @@ -26,7 +26,7 @@ $FS->post($form); # on success, gives a redirect to the payment receipt my $paynum; -if ($FS->redirect =~ m[^/view/cust_pay.html\?(\d+)]) { +if ($FS->redirect =~ m[^/view/cust_pay.html\?paynum=(\d+)]) { pass('payment processed'); $paynum = $1; } elsif ( $FS->error ) { |