mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 18:26:06 +00:00
test: add tests for message unqueueing
This adds a comprehensive set of tests for the message unqueueing service. Additionally, it improves how message databases are used for testing environments.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
FactoryBot.define do
|
||||
factory :address_endpoint do
|
||||
server
|
||||
sequence(:address) { |n| "test#{n}@example.com" }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user