Commit 4a23f3bd authored by Arturo Herrero's avatar Arturo Herrero Committed by Imre Farkas

Fix uninitialized constant testing integrations

parent 1b87f3ca
......@@ -61,7 +61,7 @@ class Projects::ServicesController < Projects::ApplicationController
return { error: true, message: _('Validations failed.'), service_response: @service.errors.full_messages.join(','), test_failed: false }
end
result = Integrations::Test::ProjectService.new(@service, current_user, params[:event]).execute
result = ::Integrations::Test::ProjectService.new(@service, current_user, params[:event]).execute
unless result[:success]
return { error: true, message: _('Test failed.'), service_response: result[:message].to_s, test_failed: true }
......
---
title: Fix error message when saving an integration and testing the settings.
merge_request: 36700
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment