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