create gradle tasks "test", "testSql", "migrations" and run docker before tasks

This commit is contained in:
2021-02-27 23:20:57 +01:00
parent c25cf64f4b
commit 7446bd506a
13 changed files with 325 additions and 102 deletions

View File

@@ -86,14 +86,14 @@ class NotificationConsumerTest {
followArticleRepo = followArticleRepo,
followConstitutionRepo = mockk(),
notificationEmailSender = emailSender,
exchangeName = "notification_test",
exchangeName = "notification",
).apply { start() }
verify { rabbitFactory.newConnection() }
/* Push message */
Publisher(
factory = rabbitFactory,
exchangeName = "notification_test",
exchangeName = "notification",
).publish(
ArticleUpdateNotification(
ArticleForView(