Skip to content

Commit

Permalink
[#58520] satisfy rubocop and broken legacy test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kharonus committed Nov 4, 2024
1 parent c935072 commit ed536b8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions app/models/queries/custom_fields/hierarchy/item_query.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ class ItemQuery
def self.model
CustomField::Hierarchy::Item
end

def default_scope
super
end
end
end
end
Expand Down
4 changes: 0 additions & 4 deletions lib/api/errors/unprocessable_content.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ module Errors
class UnprocessableContent < ErrorBase
identifier "UnprocessableContent"
code 422

def initialize(message)
super(message)
end
end
end
end
2 changes: 1 addition & 1 deletion spec/lib/api/v3/utilities/resource_link_generator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
end

it "returns nil for unsupported records" do
record = create(:custom_field)
record = create(:oauth_client_token)
expect(subject.make_link(record)).to be_nil
end

Expand Down

0 comments on commit ed536b8

Please sign in to comment.