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

Commit

Permalink
magento/graphql-ce#: Add missed annotation blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
atwixfirster committed Nov 6, 2019
1 parent 7076b99 commit b63e5f2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use Magento\TestFramework\TestCase\GraphQlAbstract;

/**
* Test for create customer functionallity
* Test for create customer functionality
*/
class CreateCustomerTest extends GraphQlAbstract
{
Expand All @@ -27,7 +27,10 @@ class CreateCustomerTest extends GraphQlAbstract
*/
private $customerRepository;

protected function setUp()
/**
* Sets up the initial tests params
*/
protected function setUp(): void
{
parent::setUp();

Expand Down Expand Up @@ -308,7 +311,10 @@ public function testCreateCustomerSubscribed()
$this->assertEquals(false, $response['createCustomer']['customer']['is_subscribed']);
}

public function tearDown()
/**
* Delete created customer account after a test is executed.
*/
public function tearDown(): void
{
$newEmail = 'new_customer@example.com';
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ class AddSimpleProductToCartTest extends GraphQlAbstract
*/
private $getMaskedQuoteIdByReservedOrderId;

protected function setUp()
/**
* Sets up the initial tests params
*/
protected function setUp(): void
{
$objectManager = Bootstrap::getObjectManager();
$this->customerTokenService = $objectManager->get(CustomerTokenServiceInterface::class);
Expand Down

0 comments on commit b63e5f2

Please sign in to comment.