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 b904c63
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ChangeCustomerPasswordTest extends GraphQlAbstract
*/
private $customerRepository;

protected function setUp()
protected function setUp(): void
{
$this->customerTokenService = Bootstrap::getObjectManager()->get(CustomerTokenServiceInterface::class);
$this->accountManagement = Bootstrap::getObjectManager()->get(AccountManagementInterface::class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CreateCustomerAddressTest extends GraphQlAbstract
*/
private $addressRepository;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
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,7 @@ class CreateCustomerTest extends GraphQlAbstract
*/
private $customerRepository;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class DeleteCustomerAddressTest extends GraphQlAbstract
*/
private $lockCustomer;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class GetAddressesTest extends GraphQlAbstract
*/
private $lockCustomer;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class GetCustomerTest extends GraphQlAbstract
*/
private $customerRepository;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SubscriptionStatusTest extends GraphQlAbstract
*/
private $subscriberFactory;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down Expand Up @@ -162,7 +162,7 @@ private function getHeaderMap(string $email, string $password): array
return ['Authorization' => 'Bearer ' . $customerToken];
}

protected function tearDown()
protected function tearDown(): void
{
parent::tearDown();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class UpdateCustomerAddressTest extends GraphQlAbstract
*/
private $lockCustomer;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class UpdateCustomerTest extends GraphQlAbstract
*/
private $lockCustomer;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b904c63

Please sign in to comment.