Skip to content

Commit

Permalink
core-2663 fixed codeception.yml of multiple modules and fixed minor t…
Browse files Browse the repository at this point in the history
…hings
  • Loading branch information
a-sabaa committed May 25, 2018
1 parent 062eea8 commit 2b108c5
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@
use Spryker\Zed\Customer\CustomerDependencyProvider;
use Spryker\Zed\Customer\Dependency\Facade\CustomerToMailBridge;
use Spryker\Zed\Mail\Business\MailFacadeInterface;
use SprykerTest\Shared\Testify\Helper\DataCleanupHelperTrait;
use SprykerTest\Shared\Testify\Helper\DependencyHelperTrait;
use SprykerTest\Shared\Testify\Helper\LocatorHelperTrait;

class CustomerDataHelper extends Module
{
use DataCleanupHelperTrait;
use DependencyHelperTrait;
use LocatorHelperTrait;

Expand All @@ -39,10 +37,6 @@ public function haveCustomer(array $override = []): CustomerTransfer

$this->getCustomerFacade()->registerCustomer($customerTransfer);

$this->getDataCleanupHelper()->_addCleanup(function () use ($customerTransfer) {
$this->getCustomerFacade()->deleteCustomer($customerTransfer);
});

return $customerTransfer;
}

Expand Down

0 comments on commit 2b108c5

Please sign in to comment.