From ed0648bfc151b067eb7536a44f9aa95b0005772f Mon Sep 17 00:00:00 2001 From: Nadja Heitmann Date: Tue, 1 Oct 2024 16:16:12 +0000 Subject: [PATCH] Fix tests --- gemfile.d/katello.rb | 1 + test/controllers/api/v2/scc_accounts_test.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 gemfile.d/katello.rb diff --git a/gemfile.d/katello.rb b/gemfile.d/katello.rb new file mode 100644 index 00000000..88bf9247 --- /dev/null +++ b/gemfile.d/katello.rb @@ -0,0 +1 @@ +gem 'katello', github: 'Katello/katello', branch: 'master' diff --git a/test/controllers/api/v2/scc_accounts_test.rb b/test/controllers/api/v2/scc_accounts_test.rb index abae30aa..3eac88f8 100644 --- a/test/controllers/api/v2/scc_accounts_test.rb +++ b/test/controllers/api/v2/scc_accounts_test.rb @@ -251,7 +251,7 @@ def scc_setup put :update, params: { id: account.id, scc_account: { :base_url => '', :sync_date => Time.now, :interval => 'weekly' } } assert_response :unprocessable_entity - assert_error_message "Base url can't be blank" + assert_error_message "Base URL can't be blank" end test 'new account SCC server connection-test' do