You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @expectedExceptionMessage GraphQL response contains errors: Email should be specified
54
+
*/
55
+
publicfunctiontestEmailAvailableEmptyValue()
56
+
{
57
+
$query =
58
+
<<<QUERY
59
+
{
60
+
isEmailAvailable(email: "") {
61
+
is_email_available
62
+
}
63
+
}
64
+
QUERY;
65
+
$response = $this->graphQlQuery($query);
66
+
}
67
+
68
+
/**
69
+
* @expectedException \Exception
70
+
* @expectedExceptionMessage GraphQL response contains errors: Field "isEmailAvailable" argument "email" of type "String!" is required but not provided.
71
+
*/
72
+
publicfunctiontestEmailAvailableMissingValue()
73
+
{
74
+
$query =
75
+
<<<QUERY
76
+
{
77
+
isEmailAvailable {
78
+
is_email_available
79
+
}
80
+
}
81
+
QUERY;
82
+
$response = $this->graphQlQuery($query);
83
+
}
84
+
85
+
/**
86
+
* @expectedException \Exception
87
+
* @expectedExceptionMessage GraphQL response contains errors: Email is invalid
0 commit comments