Fix unit test

This commit is contained in:
Ramon Wenger 2022-06-27 17:01:09 +02:00
parent a463f96167
commit 1fe1dbe92d
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ mutation AddRoomEntry($input: AddRoomEntryInput!){
# room = graphene.ID(required=True) # room = graphene.ID(required=True)
room_entry = { room_entry = {
'title': 'Bad Actor!', 'title': 'Bad Actor!',
'slug': self.room.slug 'roomSlug': self.room.slug
} }
result = self.get_client(self.yet_another_user).execute(mutation, variables={ result = self.get_client(self.yet_another_user).execute(mutation, variables={

View File

@ -1401,7 +1401,7 @@ input UpdateRoomArgument {
input UpdateRoomEntryArgument { input UpdateRoomEntryArgument {
title: String! title: String!
contents: [ContentElementInput] contents: [ContentElementInput]
id: ID! slug: String!
} }
input UpdateRoomEntryInput { input UpdateRoomEntryInput {