Skip to content

Commit

Permalink
VIP
Browse files Browse the repository at this point in the history
  • Loading branch information
shahryarjb committed May 26, 2024
1 parent df63e65 commit e98e4af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/plugins_management/hook.ex
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ defmodule MishkaInstaller.PluginsManagement.Hook do
def start_helper(module, state, reg_db_plg) do
case module.start(true) do
{:ok, :start, st_db_plg} ->
IO.inspect("hiii-=-=-==-=-=->")
Keyword.merge(state, status: st_db_plg.status, depends: st_db_plg.depends)

{:error, [%{field: :event, action: :compile}]} ->
Expand Down
2 changes: 1 addition & 1 deletion test/plugins_management/event_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ defmodule MishkaInstallerTest.PluginsManagement.EventTest do
MishkaInstaller.subscribe("event")
_manual_starting = RegisterEmailSender.start_link()

assert_receive %{status: :start, data: _data}, 10000
assert_receive %{status: :start, data: _data}, 1000

{:ok, :unregister, _data} =
assert Event.unregister(RegisterEmailSender, "after_success_login", true)
Expand Down

0 comments on commit e98e4af

Please sign in to comment.