Skip to content

Commit 07d13c9

Browse files
committed
Fixing old version of the resource that has been replaced
Removing auto generated incorrect test file
1 parent 48a4fa7 commit 07d13c9

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

app/services/cms/resource.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,7 @@ def self.clear_cache(key = nil)
126126
when "rest"
127127
Providers::Strapi::Client.new
128128
when "graphql"
129-
if Rails.env.test?
130-
Providers::Strapi::GraphqlClient.new(schema_path: StrapiStubs::GRAPH_SCHEMA)
131-
else
132-
Providers::Strapi::GraphqlClient.new
133-
end
129+
Providers::Strapi::GraphqlClient.new
134130
else
135131
Providers::Strapi::Client.new
136132
end

test/components/cms/course_card_component_test.rb

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)