Skip to content

Commit

Permalink
Preliminary testing
Browse files Browse the repository at this point in the history
  • Loading branch information
panda-madness committed Apr 17, 2018
1 parent 969b8db commit 25591b8
Show file tree
Hide file tree
Showing 6 changed files with 134 additions and 73 deletions.
129 changes: 63 additions & 66 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
beStrictAboutCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
verbose="true">
verbose="true"
colors="true"
>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>
Expand Down
2 changes: 1 addition & 1 deletion src/Epay.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ public function parseResponse(string $type, string $body)

public function getConfig()
{
return $this->params;
return $this->options;
}
}
4 changes: 2 additions & 2 deletions src/Requests/PaymentRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public function getContents()
{
return [
'Signed_Order_B64' => base64_encode($this->getXML()),
'Backlink' => $this->requestParams['links']['BackLink'],
'FailureBacklink' => $this->requestParams['links']['FailureBackLink'],
'BackLink' => $this->requestParams['links']['BackLink'],
'FailureBackLink' => $this->requestParams['links']['FailureBackLink'],
'PostLink' => $this->requestParams['links']['PostLink'],
'FailurePostLink' => $this->requestParams['links']['FailurePostLink'],
];
Expand Down
Loading

0 comments on commit 25591b8

Please sign in to comment.