Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added function test #1

Merged
merged 2 commits into from
Mar 23, 2013
Merged

Added function test #1

merged 2 commits into from
Mar 23, 2013

Conversation

66Ton99
Copy link
Contributor

@66Ton99 66Ton99 commented Mar 22, 2013

No description provided.

use Payum\AuthorizeNet\Aim\PaymentFactory;
use Payum\AuthorizeNet\Aim\Bridge\AuthorizeNet\AuthorizeNetAIM;

class ExecuteTest extends \PHPUnit_Framework_TestCase
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PaymentTest is a better name IMO

@makasim
Copy link
Member

makasim commented Mar 22, 2013

I would like to merge it to 0.3 branch (not exist currently). So could we wait till I create it and reopen this PR agains that branch? ok?

@66Ton99
Copy link
Contributor Author

66Ton99 commented Mar 22, 2013

OK


$model = $statusRequest->getModel();

$this->assertTrue($statusRequest->isSuccess(), $model['response_reason_text']);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure response_reason_code always set?

@makasim makasim merged commit 27d7503 into Payum:master Mar 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants