summaryrefslogtreecommitdiff
path: root/spec/factories/authentication_event.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/authentication_event.rb')
-rw-r--r--spec/factories/authentication_event.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/factories/authentication_event.rb b/spec/factories/authentication_event.rb
new file mode 100644
index 00000000000..ff539c6f5c4
--- /dev/null
+++ b/spec/factories/authentication_event.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+FactoryBot.define do
+ factory :authentication_event do
+ user
+ provider { :standard }
+ user_name { 'Jane Doe' }
+ ip_address { '127.0.0.1' }
+ result { :failed }
+ end
+end