tests: Some much-needed cleanup...
[prosody.git] / tests / test_core_s2smanager.lua
index b49c7da6cd2827790d538ee66c40e6dabbf30c2c..7194d201dd75b99ed3cd4cc31c6e4900e83d6107 100644 (file)
@@ -6,6 +6,9 @@
 -- COPYING file in the source package for more information.
 --
 
+env = {
+       prosody = { events = require "util.events".new() };
+};
 
 function compare_srv_priorities(csp)
        local r1 = { priority = 10, weight = 0 }