Update number -> phone usages
This commit is contained in:
parent
378d02f269
commit
9f008a18ea
3 changed files with 6 additions and 6 deletions
|
@ -389,7 +389,7 @@ class GraphQLAccountTest extends Scope
|
|||
$graphQLPayload = [
|
||||
'query' => $query,
|
||||
'variables' => [
|
||||
'number' => '+123456789',
|
||||
'phone' => '+123456789',
|
||||
'password' => 'password',
|
||||
]
|
||||
];
|
||||
|
|
|
@ -606,8 +606,8 @@ trait GraphQLBase
|
|||
}
|
||||
}';
|
||||
case self::$UPDATE_USER_PHONE:
|
||||
return 'mutation updateUserPhone($userId: String!, $number: String!){
|
||||
usersUpdatePhone(userId: $userId, number: $number) {
|
||||
return 'mutation updateUserPhone($userId: String!, $phone: String!){
|
||||
usersUpdatePhone(userId: $userId, phone: $phone) {
|
||||
name
|
||||
phone
|
||||
email
|
||||
|
@ -795,8 +795,8 @@ trait GraphQLBase
|
|||
}
|
||||
}';
|
||||
case self::$UPDATE_ACCOUNT_PHONE:
|
||||
return 'mutation updateAccountPhone($number: String!, $password: String!){
|
||||
accountUpdatePhone(number: $number, password: $password) {
|
||||
return 'mutation updateAccountPhone($phone: String!, $password: String!){
|
||||
accountUpdatePhone(phone: $phone, password: $password) {
|
||||
_id
|
||||
name
|
||||
status
|
||||
|
|
|
@ -316,7 +316,7 @@ class GraphQLUsersTest extends Scope
|
|||
'query' => $query,
|
||||
'variables' => [
|
||||
'userId' => $this->getUser()['$id'],
|
||||
'number' => '+123456789'
|
||||
'phone' => '+123456789'
|
||||
],
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue