Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Tests data rollback for`\Magento\GraphQl\Customer\CreateCustomerTest::testCreateCustomerAccountWithPassword #473

Merged
merged 7 commits into from
Apr 2, 2019

Conversation

XxXgeoXxX
Copy link
Member

Description (*)

Issue: #469

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

$registry = Bootstrap::getObjectManager()->get(\Magento\Framework\Registry::class);
$registry->unregister('isSecureArea');
$registry->register('isSecureArea', true);
$customersCollection = Bootstrap::getObjectManager()->create(\Magento\Customer\Model\Customer::class);
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like you should operate with customer collection but not with customer object

Copy link
Member Author

Choose a reason for hiding this comment

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

Changes were done

…eCustomerTest::testCreateCustomerAccountWithPassword`
@magento-engcom-team magento-engcom-team merged commit 1788928 into magento:2.3-develop Apr 2, 2019
@ghost
Copy link

ghost commented Apr 2, 2019

Hi @XxXgeoXxX, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants