diff options
Diffstat (limited to 'spec/factories/project_hooks.rb')
-rw-r--r-- | spec/factories/project_hooks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/project_hooks.rb b/spec/factories/project_hooks.rb index 946b3925ee9..a7f562df92d 100644 --- a/spec/factories/project_hooks.rb +++ b/spec/factories/project_hooks.rb @@ -35,7 +35,7 @@ FactoryBot.define do end trait :permanently_disabled do - recent_failures { WebHook::FAILURE_THRESHOLD + 1 } + recent_failures { WebHooks::AutoDisabling::FAILURE_THRESHOLD + 1 } end end end |