aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_core_s2smanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-05-18 17:14:30 +0100
committerMatthew Wild <mwild1@gmail.com>2013-05-18 17:14:30 +0100
commita0210694a542dceabf16ac2de14828eb2f7cd8f1 (patch)
treef39ac325409c6e76318d8a769f8217332e16f1d1 /tests/test_core_s2smanager.lua
parent38abedd4387beda9e443ad25f1b7d478a1a92520 (diff)
downloadprosody-a0210694a542dceabf16ac2de14828eb2f7cd8f1.tar.gz
prosody-a0210694a542dceabf16ac2de14828eb2f7cd8f1.zip
tests: Some much-needed cleanup...
Diffstat (limited to 'tests/test_core_s2smanager.lua')
-rw-r--r--tests/test_core_s2smanager.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_core_s2smanager.lua b/tests/test_core_s2smanager.lua
index b49c7da6..7194d201 100644
--- a/tests/test_core_s2smanager.lua
+++ b/tests/test_core_s2smanager.lua
@@ -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 }