diff --git a/test/plugins_management/event_test.exs b/test/plugins_management/event_test.exs index b81b356..3026f6b 100644 --- a/test/plugins_management/event_test.exs +++ b/test/plugins_management/event_test.exs @@ -156,9 +156,10 @@ defmodule MishkaInstallerTest.PluginsManagement.EventTest do end test "Unregister a plugin" do + _manual_starting = RegisterEmailSender.start_link() + :ok = MishkaInstaller.subscribe("event") Event.drop() - _manual_starting = RegisterEmailSender.start_link() assert_receive %{status: :start, data: _data}, 1000