summaryrefslogtreecommitdiff
path: root/spec/factories/webauthn_registrations.rb
blob: ac803885244be22463760343ab66e0c10afef3a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

FactoryBot.define do
  factory :webauthn_registration do
    credential_xid { SecureRandom.base64(88) }
    public_key { SecureRandom.base64(103) }
    name { FFaker::BaconIpsum.characters(10) }
    counter { 1 }
    user
  end
end