mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Update backend/src/resolvers/user_management.spec.js
Co-Authored-By: Tirokk <wolle.huss@pjannto.com>
This commit is contained in:
parent
008d99c6ef
commit
828ca50f19
@ -371,7 +371,7 @@ describe('unauthenticated query of "publicKey"', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
describe('authenticated query of "publicKey". To asure generation of "privateKey" is garanteed', () => {
|
describe('authenticated query of "publicKey". To asure generation of "privateKey" is garanteed', () => {
|
||||||
it('throws "Not Authorised!"', async () => {
|
it('returns publicKey', async () => {
|
||||||
const queryUserPuplicKey = gql`
|
const queryUserPuplicKey = gql`
|
||||||
query($queriedUserSlug: String) {
|
query($queriedUserSlug: String) {
|
||||||
User(slug: $queriedUserSlug) {
|
User(slug: $queriedUserSlug) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user