Fixed tests

This commit is contained in:
Syrus Akbary 2015-10-06 22:53:43 -07:00
parent f9b48b0fe8
commit 6537154d9f

View File

@ -50,7 +50,7 @@ class Query(graphene.ObjectType):
type_name = 'core.Query'
@resolve_only_args
def resolve_hero(self, episode):
def resolve_hero(self, episode=None):
return wrap_character(getHero(episode))
@resolve_only_args