Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammjammjamm committed Nov 21, 2023
1 parent 1fa5164 commit 09ede86
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions lib/inferno/dsl/fhir_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ def body_to_path(body)
# @param tags [Array<String>] a list of tags to assign to the request
# @return [Inferno::Entities::Request]
def fhir_operation(
path,
body: nil,
client: :default,
name: nil,
headers: {},
operation_method: :post,
tags: []
)
path,
body: nil,
client: :default,
name: nil,
headers: {},
operation_method: :post,
tags: []
)
store_request_and_refresh_token(fhir_client(client), name, tags) do
tcp_exception_handler do
operation_headers = fhir_client(client).fhir_headers
Expand Down Expand Up @@ -267,13 +267,13 @@ def fhir_history(resource_type = nil, id = nil, client: :default, name: nil, tag
# @param tags [Array<String>] a list of tags to assign to the request
# @return [Inferno::Entities::Request]
def fhir_search(
resource_type = nil,
client: :default,
params: {},
name: nil,
search_method: :get,
tags: []
)
resource_type = nil,
client: :default,
params: {},
name: nil,
search_method: :get,
tags: []
)
search =
if search_method == :post
{ body: params }
Expand Down
2 changes: 1 addition & 1 deletion lib/inferno/dsl/request_storage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def resource
def load_tagged_requests(*tags)
return [] if tags.blank?

Repositories::Requests.new.tagged_requests(self.test_session_id, tags).tap do |tagged_requests|
Repositories::Requests.new.tagged_requests(test_session_id, tags).tap do |tagged_requests|
requests.concat(tagged_requests)
end
end
Expand Down

0 comments on commit 09ede86

Please sign in to comment.