]> granicus.if.org Git - ejabberd/commitdiff
Update tests to ejabberd_commands changes
authorPaweł Chmielowski <pchmielowski@process-one.net>
Mon, 27 Feb 2017 09:45:39 +0000 (10:45 +0100)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Mon, 27 Feb 2017 09:45:39 +0000 (10:45 +0100)
test/ejabberd_commands_mock_test.exs

index 7712cde48db5c62b3af37c7b72c8d19b3378c03e..dd857a08319786fdd1f4891d6f2060ad27e2fd53 100644 (file)
@@ -61,7 +61,7 @@ defmodule EjabberdCommandsMockTest do
                :meck.unload
                :meck.new(@module, [:non_strict])
     :mnesia.delete_table(:ejabberd_commands)
-               :ejabberd_commands.init
+               :ejabberd_commands.start_link
        end
 
        test "API command can be registered, listed and unregistered" do