Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#61178] Fix specs related to httpx downgrade.

Pavel Balashou5bd2d1522d21
diff --git a/modules/github_integration/spec/workers/cron/check_deploy_status_job_spec.rb b/modules/github_integration/spec/workers/cron/check_deploy_status_job_spec.rb
index d34e064d6c8..ec94cbaba73 100644
--- a/modules/github_integration/spec/workers/cron/check_deploy_status_job_spec.rb
+++ b/modules/github_integration/spec/workers/cron/check_deploy_status_job_spec.rb
@@ -101,7 +101,6 @@ RSpec.describe Cron::CheckDeployStatusJob, type: :job, with_flag: { deploy_targe
{
"Accept" => "*/*",
"Accept-Encoding" => "gzip, deflate",
- "User-Agent" => "httpx.rb/1.4.0"
}
end
diff --git a/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command_spec.rb b/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command_spec.rb
index a21df99f0a5..568ae99e4da 100644
--- a/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command_spec.rb
+++ b/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command_spec.rb
@@ -137,7 +137,7 @@ RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::SetPermissio
.with(
error_code: :error,
message: nil,
- data: %r{/lib/httpx/response.rb:262:in 'full_message': timed out while waiting on select \(HTTPX::ConnectTimeoutError\)\n$}
+ data: %r{timed out while waiting on select \(HTTPX::ConnectTimeoutError\)\n$}
).once
# rubocop:enable Layout/LineLength
end