Update backend/src/resolvers/user_management.spec.js

Co-Authored-By: Tirokk <wolle.huss@pjannto.com>
This commit is contained in:
Robert Schäfer 2019-04-12 16:51:30 +02:00 committed by GitHub
parent 008d99c6ef
commit 828ca50f19

View File

@ -371,7 +371,7 @@ describe('unauthenticated query of "publicKey"', () => {
})
describe('authenticated query of "publicKey". To asure generation of "privateKey" is garanteed', () => {
it('throws "Not Authorised!"', async () => {
it('returns publicKey', async () => {
const queryUserPuplicKey = gql`
query($queriedUserSlug: String) {
User(slug: $queriedUserSlug) {