Skip to content

Commit a0524d6

Browse files
committed
Fix tests
1 parent 2d716fe commit a0524d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/graphql/schema/input_object_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ class TestInput2 < GraphQL::Schema::InputObject
765765
input_object = InputObjectDigTest::TestInput2.new(
766766
nil,
767767
ruby_kwargs: arg_values,
768-
context: nil,
768+
context: GraphQL::Query::NullContext.instance,
769769
defaults_used: Set.new
770770
)
771771
it "returns the value at that key" do
@@ -808,7 +808,7 @@ class TestInput2 < GraphQL::Schema::InputObject
808808
input_object = InputObjectPatternTest::TestInput2.new(
809809
nil,
810810
ruby_kwargs: arg_values,
811-
context: nil,
811+
context: GraphQL::Query::NullContext.instance,
812812
defaults_used: Set.new
813813
)
814814
it "matches the value at that key" do

0 commit comments

Comments
 (0)