Skip to content

Commit

Permalink
Refs #38003 - Fix broken ACS test
Browse files Browse the repository at this point in the history
  • Loading branch information
ianballou committed Nov 26, 2024
1 parent 951fb57 commit 7ad24da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/actions/katello/repository_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def setup
action.stubs(:action_subject).with(published_rhel7_repository)

# manually remove the URLs from all repos in product except repository
testing_repo = repository.product.repositories[4]
testing_repo = ::Katello::Repository.joins(:root).find_by(katello_root_repositories: { label: 'rhel_7_no_arch_label' })
testing_repo.product.repositories.each do |repo|
repo.root.url = nil unless repo.id == testing_repo.id || repo.root.id == testing_repo.root.id
repo.root.save!(validate: false)
Expand Down

0 comments on commit 7ad24da

Please sign in to comment.