25
1
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:
Paweł Chmielowski 2016-09-05 17:18:27 +02:00
parent 96a748d34f
commit c770a54aac

View File

@ -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