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:
Adam Cooke
2024-02-23 22:51:34 +00:00
committed by Adam Cooke
parent 465f4d8247
commit b4016f6b49
21 changed files with 1658 additions and 84 deletions
+11
View File
@@ -0,0 +1,11 @@
# frozen_string_literal: true
FactoryBot.define do
factory :smtp_endpoint do
server
name { "Example SMTP Endpoint" }
hostname { "example.com" }
ssl_mode { "None" }
port { 25 }
end
end