From 24fcc360e25f7c42e31e630788faae6d5c95a62a Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 22 Aug 2023 21:33:33 -0400 Subject: [PATCH] GraphQL test fixes --- tests/e2e/Services/GraphQL/Base.php | 4 ++-- tests/e2e/Services/GraphQL/UsersTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/Services/GraphQL/Base.php b/tests/e2e/Services/GraphQL/Base.php index 07c1d55aec..22460fc3b9 100644 --- a/tests/e2e/Services/GraphQL/Base.php +++ b/tests/e2e/Services/GraphQL/Base.php @@ -847,8 +847,8 @@ trait Base } }'; case self::$UPDATE_USER_EMAIL_VERIFICATION: - return 'mutation updateUserEmailVerification($userId: String!, $emailVerification: Boolean!){ - usersUpdateEmailVerification(userId: $userId, emailVerification: $emailVerification) { + return 'mutation updateUserVerification($userId: String!, $emailVerification: Boolean!){ + usersUpdateVerification(userId: $userId, emailVerification: $emailVerification) { name email } diff --git a/tests/e2e/Services/GraphQL/UsersTest.php b/tests/e2e/Services/GraphQL/UsersTest.php index 9bd503df0f..f50b58bf25 100644 --- a/tests/e2e/Services/GraphQL/UsersTest.php +++ b/tests/e2e/Services/GraphQL/UsersTest.php @@ -218,7 +218,7 @@ class UsersTest extends Scope $this->assertIsArray($user['body']['data']); $this->assertArrayNotHasKey('errors', $user['body']); - $this->assertIsArray($user['body']['data']['usersUpdateEmailVerification']); + $this->assertIsArray($user['body']['data']['usersUpdateVerification']); } public function testUpdateUserPhoneVerification()