Skip to content

Commit

Permalink
[backend] wip: try to fix test (#8101)
Browse files Browse the repository at this point in the history
  • Loading branch information
marieflorescontact committed Sep 30, 2024
1 parent 4fc506a commit 9ae20a0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -944,8 +944,7 @@ describe('User has no settings capability and is organization admin query behavi
variables: { id: userInternalId },
});
// Verify is no longer found
const queryResult = await adminQuery({ query: READ_QUERY, variables: { id: userInternalId } });
expect(queryResult).not.toBeNull();
const queryResult = await adminQueryWithSuccess({ query: READ_QUERY, variables: { id: userInternalId } });
expect(queryResult.data.user).toBeNull();
});
});

0 comments on commit 9ae20a0

Please sign in to comment.