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:10 +02:00 committed by GitHub
parent b007015eeb
commit 008d99c6ef

View File

@ -339,7 +339,11 @@ describe('do not expose private RSA key', () => {
}`, variables
)
}
describe('unauthenticated query of "publicKey"', () => {
it('returns publicKey', () => {
// check that an RSA key pair has been created at all
})
})
describe('unauthenticated query of "privateKey"', () => {
it('throws "Not Authorised!"', async () => {
client = new GraphQLClient(host)