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
commite491b17e6f0187c419ac9a4d7178d9b1b9ac88be (patch)
treef39ac325409c6e76318d8a769f8217332e16f1d1 /tests/test_core_s2smanager.lua
parent62a1d8a2d312c61673f868878efdcb747c63f772 (diff)
downloadprosody-e491b17e6f0187c419ac9a4d7178d9b1b9ac88be.tar.gz
prosody-e491b17e6f0187c419ac9a4d7178d9b1b9ac88be.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 }