Skip to content

Commit b75f352

Browse files
committed
#675: [Test coverage] Generate customer token
1 parent 85b336b commit b75f352

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/GenerateCustomerTokenTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@ public function testGenerateCustomerValidToken()
4747
* @magentoApiDataFixture Magento/Customer/_files/customer.php
4848
* @expectedException \Exception
4949
*
50-
* @dataProvider dataProviderCustomerInfo
50+
* @dataProvider dataProviderInvalidCustomerInfo
5151
* @param string $email
5252
* @param string $password
5353
* @param string $message
54-
* @throws \Exception
5554
*/
5655
public function testGenerateCustomerTokenNegativeCases(string $email, string $password, string $message)
5756
{
@@ -104,7 +103,7 @@ public function testRegenerateCustomerToken()
104103
/**
105104
* @return array
106105
*/
107-
public function dataProviderCustomerInfo()
106+
public function dataProviderInvalidCustomerInfo(): array
108107
{
109108
return [
110109
'invalid_email' => [

0 commit comments

Comments
 (0)