Skip to content

Commit 517abfd

Browse files
committed
Disable NotificationsSubscriber in test env
1 parent 47b690e commit 517abfd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

config/test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ config :sanbase, Sanbase.EventBus,
1616
Sanbase.EventBus.KafkaExporterSubscriber,
1717
Sanbase.EventBus.BillingEventSubscriber,
1818
Sanbase.EventBus.MetricRegistrySubscriber,
19+
Sanbase.EventBus.NotificationsSubscriber,
1920
Sanbase.EventBus.AppNotificationsSubscriber,
2021
Sanbase.EventBus.UserEventsSubscriber
2122
]

test/sanbase/metric_registry/metric_registry_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Sanbase.MetricRegistyTest do
2-
use Sanbase.DataCase
2+
use Sanbase.DataCase, async: false
33
import ExUnit.CaptureLog
44

55
setup_all do

0 commit comments

Comments
 (0)