mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Clean ejabberd_commands before tests
This commit is contained in:
parent
96a748d34f
commit
c770a54aac
@ -58,6 +58,7 @@ defmodule EjabberdCommandsMockTest do
|
|||||||
setup do
|
setup do
|
||||||
:meck.unload
|
:meck.unload
|
||||||
:meck.new(@module, [:non_strict])
|
:meck.new(@module, [:non_strict])
|
||||||
|
:mnesia.delete_table(:ejabberd_commands)
|
||||||
:ejabberd_commands.init
|
:ejabberd_commands.init
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user