From 66095a5e450cbf124c3d69088a41dc8a940004ed Mon Sep 17 00:00:00 2001 From: Alex Taranovsky Date: Wed, 6 Nov 2019 16:52:36 +0200 Subject: [PATCH] magento/graphql-ce#: Add missed annotation blocks --- .../Magento/GraphQl/Customer/CreateCustomerTest.php | 6 +++--- .../GraphQl/Quote/Customer/AddSimpleProductToCartTest.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/CreateCustomerTest.php b/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/CreateCustomerTest.php index 0be968d6d340..5846880c6ee2 100644 --- a/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/CreateCustomerTest.php +++ b/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/CreateCustomerTest.php @@ -13,7 +13,7 @@ use Magento\TestFramework\TestCase\GraphQlAbstract; /** - * Test for create customer functionallity + * Test for create customer functionality */ class CreateCustomerTest extends GraphQlAbstract { @@ -27,7 +27,7 @@ class CreateCustomerTest extends GraphQlAbstract */ private $customerRepository; - protected function setUp() + protected function setUp(): void { parent::setUp(); @@ -308,7 +308,7 @@ public function testCreateCustomerSubscribed() $this->assertEquals(false, $response['createCustomer']['customer']['is_subscribed']); } - public function tearDown() + public function tearDown(): void { $newEmail = 'new_customer@example.com'; try { diff --git a/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/AddSimpleProductToCartTest.php b/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/AddSimpleProductToCartTest.php index f7ba5b4d924f..121eb6aff44b 100644 --- a/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/AddSimpleProductToCartTest.php +++ b/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/AddSimpleProductToCartTest.php @@ -29,7 +29,7 @@ class AddSimpleProductToCartTest extends GraphQlAbstract */ private $getMaskedQuoteIdByReservedOrderId; - protected function setUp() + protected function setUp(): void { $objectManager = Bootstrap::getObjectManager(); $this->customerTokenService = $objectManager->get(CustomerTokenServiceInterface::class);