-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fixing subscrition by card_hash #127
Conversation
parent::getPayload() | ||
); | ||
} | ||
|
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.
@petriuslima adicione o dockblock para o método 😉
@devdrops Adicionado! |
return $phoneMock; | ||
} | ||
|
||
private function defaultPayloadWithoutCardInfo() |
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.
@petriuslima esse nome ficaria mais claro se especificasse se ele obtém ou define o payload.
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.
@ricardotulio Feito!
public function mustPayloadBeCorrect() | ||
const CARD_HASH = 'FC1mH7XLFU5fjPAzDsP0ogeAQh3qXRpHzkIrgDz64lITBUGwio67zm'; | ||
|
||
private function getConfiguredPlanForPayloadTest() |
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.
@petriuslima alguns métodos para criação dos mocks tem a palavra mock e outros não. O que acha de definirmos um padrão?
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.
@ricardotulio Padronizado para conter a palavra mock.
Fixing subscrition by card_hash as described in #126.