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

ECO-2057: AdyenApi Functional tests #3

Conversation

aleksey-kotsuba
Copy link
Contributor

Please confirm

  • No new OS components - or they have been approved by legal department

Documentation

  • Functional documentation provided or in progress?
  • Integration guide for projects provided or not needed?
  • Migration guides for all contained majors provided or not needed?

Release Table

Module Release Type Constraint Updates
AdyenApi minor (new)

Release Notes

  • Add functional tests for used facade's methods.

Module AdyenApi

Minor: Added functionality in a backwards-compatible manner

Def of done (by responsible developer):

  • All changes are backward-compatible. Outdated code is marked as deprecated.
  • New and changed facade methods covered by functional tests. / Has nothing to test.
  • New and changed complex business logic is covered by unit or integration tests. / Has nothing to test.
Change log

Improvements

  • Add functional tests.

@aleksey-kotsuba aleksey-kotsuba self-assigned this Oct 29, 2018
);
$this->assertNotEmpty($responseTransfer->getCaptureResponse()->getPspReference());
$this->assertNotEmpty($responseTransfer->getCaptureResponse()->getResponse());
$this->assertEquals('[capture-received]', $responseTransfer->getCaptureResponse()->getResponse());

Choose a reason for hiding this comment

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

Extract magic strings here and below to consts.

*/
protected function createUtilEncodingService(): AdyenApiToUtilEncodingServiceInterface
{
$service = new UtilEncodingService();

Choose a reason for hiding this comment

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

I think you can use locator to get these things here.

@aleksey-kotsuba aleksey-kotsuba force-pushed the feature/eco-1685/eco-2057-functional-tests branch from af812aa to 3fef478 Compare November 2, 2018 15:10
@aleksey-kotsuba aleksey-kotsuba merged commit d6e5860 into feature/eco-1685/dev-adyen Nov 3, 2018
@aleksey-kotsuba aleksey-kotsuba deleted the feature/eco-1685/eco-2057-functional-tests branch November 3, 2018 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants