-
Notifications
You must be signed in to change notification settings - Fork 24
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
Feature/gestpay #72
Feature/gestpay #72
Conversation
.gitignore
Outdated
@@ -3,3 +3,5 @@ bin | |||
composer.phar | |||
composer.lock | |||
phpunit.xml | |||
.idea/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this has to be part of your global ignore file. http://egorsmirnov.me/2015/05/04/global-gitignore-file.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right.
</php> | ||
|
||
<listeners> | ||
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you really need it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is mandatory for the ClockMock to work, i haven't tested it but it's said in the sf docs. However, i'm gonna check it and i'll tell you the results.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this is needed. We need to configure de namespaces for the ClockMock, without that it does not work properly.
phpunit.xml | ||
|
||
# Editors | ||
.idea/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same than before
</filter> | ||
|
||
<php> | ||
<env name="GESTPAY_SHOP_LOGIN" value="GESPAYXXXX"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have you added the keys to travis?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
@@ -72,7 +72,7 @@ public function executeAction() | |||
return new Response( | |||
$this | |||
->templatingEngine | |||
->render('RedsysBundle:Redsys:process.html.twig', [ | |||
->render('GestpayBundle:Redsys:process.html.twig', [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the refactor command does something wrong here :-P
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm yeah it seems so, I was not aware of this. I'll change it and pass the whole test suite
@@ -18,7 +18,7 @@ | |||
use PaymentSuite\PaymentCoreBundle\PaymentMethodInterface; | |||
|
|||
/** | |||
* RedsysMethod class. | |||
* GestPayMethod class. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
@@ -38,7 +38,7 @@ class RedsysManager | |||
/** | |||
* @var RedsysMethodFactory | |||
* | |||
* RedsysMethod factory | |||
* GestPayMethod factory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
@@ -67,7 +67,7 @@ class RedsysManager | |||
* Construct method for redsys manager. | |||
* | |||
* @param RedsysFormTypeBuilder $redsysFormTypeBuilder Form Type Builder | |||
* @param RedsysMethodFactory $redsysMethodFactory RedsysMethod factory | |||
* @param RedsysMethodFactory $redsysMethodFactory GestPayMethod factory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
86397ac
to
f37531c
Compare
No description provided.