Skip to content

Commit 0c843c8

Browse files
author
Matthew O'Loughlin
committed
GRAPHQL-673: Update tests with new error message and fix code style issues.
1 parent 7e71a40 commit 0c843c8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function testEmailAvailable()
5050

5151
/**
5252
* @expectedException \Exception
53-
* @expectedExceptionMessage GraphQL response contains errors: Email should be specified
53+
* @expectedExceptionMessage GraphQL response contains errors: Email must be specified
5454
*/
5555
public function testEmailAvailableEmptyValue()
5656
{
@@ -62,12 +62,12 @@ public function testEmailAvailableEmptyValue()
6262
}
6363
}
6464
QUERY;
65-
$response = $this->graphQlQuery($query);
65+
$this->graphQlQuery($query);
6666
}
6767

6868
/**
6969
* @expectedException \Exception
70-
* @expectedExceptionMessage GraphQL response contains errors: Field "isEmailAvailable" argument "email" of type "String!" is required but not provided.
70+
* @expectedExceptionMessage Field "isEmailAvailable" argument "email" of type "String!" is required
7171
*/
7272
public function testEmailAvailableMissingValue()
7373
{
@@ -79,7 +79,7 @@ public function testEmailAvailableMissingValue()
7979
}
8080
}
8181
QUERY;
82-
$response = $this->graphQlQuery($query);
82+
$this->graphQlQuery($query);
8383
}
8484

8585
/**
@@ -96,6 +96,6 @@ public function testEmailAvailableInvalidValue()
9696
}
9797
}
9898
QUERY;
99-
$response = $this->graphQlQuery($query);
99+
$this->graphQlQuery($query);
100100
}
101101
}

0 commit comments

Comments
 (0)