lumi-api/test/factories/webpush_subscription.rb

10 lines
230 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :webpush_subscription do
pirata
auth { SecureRandom.hex }
p256dh { SecureRandom.hex }
endpoint { "https://#{SecureRandom.hex}.org/endpoint" }
end
end