Diff

tests/test_core_s2smanager.lua @ 5604:6df0ec991f2e

tests: Some much-needed cleanup...
author Matthew Wild <mwild1@gmail.com>
date Sat, 18 May 2013 17:14:30 +0100
parent 2923:b7049746bd29
child 5776:bd0ff8ae98a8
line wrap: on
line diff
--- a/tests/test_core_s2smanager.lua	Sat May 18 16:45:29 2013 +0100
+++ b/tests/test_core_s2smanager.lua	Sat May 18 17:14:30 2013 +0100
@@ -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 }