$OpenBSD: patch-tests_test_core_s2smanager_lua,v 1.1 2015/04/04 11:42:17 edd Exp $
--- tests/test_core_s2smanager.lua.orig	Fri Apr  3 18:13:58 2015
+++ tests/test_core_s2smanager.lua	Fri Apr  3 18:15:56 2015
@@ -6,6 +6,10 @@
 -- 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 }
