Regression in the snippet service
Failures:
1) Snippets::UpdateService#execute when Project Snippet behaves like when snippet_actions param is present updates a snippet with the provided attributes
Failure/Error: expect(response).to be_success
expected `#<ServiceResponse:0x00007f74e9df6f50 @status=:error, @message="Repository Error updating the snippet", @payload={:snippet=>#<ProjectSnippet id:26 namespace125/project223$26>}, @http_status=400>.success?` to be truthy, got false
Shared Example Group: "when snippet_actions param is present" called from ./spec/services/snippets/update_service_spec.rb:746
# ./spec/services/snippets/update_service_spec.rb:371:in `block (4 levels) in <top (required)>'
# ./spec/spec_helper.rb:408:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:395:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:395:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:112:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:112:in `block (2 levels) in <top (required)>'
2) Snippets::UpdateService#execute when PersonalSnippet behaves like when snippet_actions param is present updates a snippet with the provided attributes
Failure/Error: expect(response).to be_success
expected `#<ServiceResponse:0x00007f74e058f348 @status=:error, @message="Repository Error updating the snippet", @payload={:snippet=>#<PersonalSnippet id:97 $97>}, @http_status=400>.success?` to be truthy, got false
Shared Example Group: "when snippet_actions param is present" called from ./spec/services/snippets/update_service_spec.rb:770
# ./spec/services/snippets/update_service_spec.rb:371:in `block (4 levels) in <top (required)>'
# ./spec/spec_helper.rb:408:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:395:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:395:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:112:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:112:in `block (2 levels) in <top (required)>'