Fix unit tests
This commit is contained in:
parent
59a32451ea
commit
1f0434376c
|
|
@ -36,7 +36,7 @@ class ProjectMutationsTestCase(DefaultUserTestCase):
|
|||
self.variables = {
|
||||
'input': {
|
||||
'projectEntry': {
|
||||
'project': to_global_id('ProjectNode', self.project1.id),
|
||||
'project': self.project1.slug,
|
||||
'description': 'testdescription'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class ProjectQuery(SkillboxTestCase):
|
|||
|
||||
self.variables = {
|
||||
'input': {
|
||||
'id': to_global_id('ProjectNode', self.project1.id)
|
||||
'slug': self.project1.slug
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -83,7 +83,7 @@ mutation UpdateProjectMutation($input: UpdateProjectInput!){
|
|||
# }
|
||||
input = {
|
||||
'project': {
|
||||
'id': self.project1.graphql_id,
|
||||
'slug': self.project1.slug,
|
||||
'title': 'BAD! THIS IS BAD!'
|
||||
}
|
||||
}
|
||||
|
|
@ -111,7 +111,7 @@ mutation UpdateProjectMutation($input: UpdateProjectInput!){
|
|||
|
||||
input = {
|
||||
'project': {
|
||||
'id': self.project1.graphql_id,
|
||||
'slug': self.project1.slug,
|
||||
'title': 'Good! THIS IS good!'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue