Skip to content

Commit

Permalink
Refs #37794 - Stub backend data call during tests (Katello#11137)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjha4 authored Sep 11, 2024
1 parent c90a1dc commit bcc75d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/controllers/api/v2/debs_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ def models
@version = ContentViewVersion.first
@deb = katello_debs(:one)
@host = hosts(:one)
Pulp3::Deb.any_instance.stubs(:backend_data).returns({ })
end

def setup
Expand Down

0 comments on commit bcc75d9

Please sign in to comment.