diff --git a/app/models/standard_identifiers.rb b/app/models/standard_identifiers.rb index 1946967..59a6abb 100644 --- a/app/models/standard_identifiers.rb +++ b/app/models/standard_identifiers.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class StandardIdentifiers attr_reader :identifiers diff --git a/test/controllers/graphql_controller_test.rb b/test/controllers/graphql_controller_test.rb index 33c356d..981f2cb 100644 --- a/test/controllers/graphql_controller_test.rb +++ b/test/controllers/graphql_controller_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class GraphqlControllerTest < ActionDispatch::IntegrationTest @@ -50,7 +52,6 @@ class GraphqlControllerTest < ActionDispatch::IntegrationTest end test 'search event query can return detected standard identifiers' do - initial_term_count = Term.count post '/graphql', params: { query: '{ logSearchEvent(sourceSystem: "timdex", searchTerm: "10.1038/nphys1170") { standardIdentifiers {