aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-24 00:06:55 +0100
committerKim Alvefur <zash@zash.se>2018-03-24 00:06:55 +0100
commitdf071bf2e4e3bab468a4d25b0fc9cdef05474c34 (patch)
tree96a891a161a65b4378aca854fc6f09af6ef6b5b6
parentf769dbb2692f943f1c548a54d4f2e778aa11d35c (diff)
downloadprosody-df071bf2e4e3bab468a4d25b0fc9cdef05474c34.tar.gz
prosody-df071bf2e4e3bab468a4d25b0fc9cdef05474c34.zip
net.http.server: Prevent loading of net.server in tests (breaks unrelated tests for some reason)
-rw-r--r--spec/net_http_server_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/net_http_server_spec.lua b/spec/net_http_server_spec.lua
index 315a9b96..758b619d 100644
--- a/spec/net_http_server_spec.lua
+++ b/spec/net_http_server_spec.lua
@@ -1,4 +1,5 @@
describe("net.http.server", function ()
+ package.loaded["net.server"] = {}
local server = require "net.http.server";
describe("events", function ()
it("should work with util.helpers", function ()