Skip to content

Commit 7731022

Browse files
committed
Remove execution_strategy method tests
1 parent bf98441 commit 7731022

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

spec/graphql/schema_spec.rb

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ class CustomSubscriptions < GraphQL::Subscriptions::ActionCableSubscriptions
4242
orphan_types Jazz::Ensemble
4343
introspection Module.new
4444
cursor_encoder Object.new
45-
query_execution_strategy Object.new
46-
mutation_execution_strategy Object.new
47-
subscription_execution_strategy Object.new
4845
context_class Class.new
4946
directives [DummyFeature1]
5047
tracer GraphQL::Tracing::DataDogTracing
@@ -64,9 +61,6 @@ class CustomSubscriptions < GraphQL::Subscriptions::ActionCableSubscriptions
6461
assert_equal base_schema.subscription, schema.subscription
6562
assert_equal base_schema.introspection, schema.introspection
6663
assert_equal base_schema.cursor_encoder, schema.cursor_encoder
67-
assert_equal base_schema.query_execution_strategy, schema.query_execution_strategy
68-
assert_equal base_schema.mutation_execution_strategy, schema.mutation_execution_strategy
69-
assert_equal base_schema.subscription_execution_strategy, schema.subscription_execution_strategy
7064
assert_equal base_schema.validate_timeout, schema.validate_timeout
7165
assert_equal base_schema.max_complexity, schema.max_complexity
7266
assert_equal base_schema.max_depth, schema.max_depth
@@ -114,15 +108,6 @@ class CustomSubscriptions < GraphQL::Subscriptions::ActionCableSubscriptions
114108
schema.introspection(introspection)
115109
cursor_encoder = Object.new
116110
schema.cursor_encoder(cursor_encoder)
117-
query_execution_strategy = Object.new
118-
schema.query_execution_strategy(query_execution_strategy)
119-
mutation_execution_strategy = Object.new
120-
schema.mutation_execution_strategy(mutation_execution_strategy)
121-
subscription_execution_strategy = Object.new
122-
schema.subscription_execution_strategy(subscription_execution_strategy)
123-
assert_equal query_execution_strategy, schema.query_execution_strategy
124-
assert_equal mutation_execution_strategy, schema.mutation_execution_strategy
125-
assert_equal subscription_execution_strategy, schema.subscription_execution_strategy
126111

127112
context_class = Class.new
128113
schema.context_class(context_class)

0 commit comments

Comments
 (0)