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

Fixing subscrition by card_hash #127

Merged
merged 4 commits into from
Feb 23, 2017
Merged

Conversation

petriuslima
Copy link
Contributor

@petriuslima petriuslima commented Feb 20, 2017

Fixing subscrition by card_hash as described in #126.

@petriuslima petriuslima changed the title Fixing subscrition by card_hash as described in #126 Fixing subscrition by card_hash as described in issue #126 Feb 20, 2017
@petriuslima petriuslima changed the title Fixing subscrition by card_hash as described in issue #126 Fixing subscrition by card_hash Feb 20, 2017
parent::getPayload()
);
}

Copy link
Contributor

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 😉

@petriuslima
Copy link
Contributor Author

@devdrops Adicionado!

return $phoneMock;
}

private function defaultPayloadWithoutCardInfo()
Copy link
Contributor

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.

Copy link
Contributor Author

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()
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@petriuslima petriuslima merged commit a4007dc into V3 Feb 23, 2017
@petriuslima petriuslima deleted the fix_subscrition_by_card_hash branch February 23, 2017 13:02
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.

3 participants