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
commitcd483ec3391f7f0bf6b224438dface68bb555473 (patch)
tree96a891a161a65b4378aca854fc6f09af6ef6b5b6
parentd31e3f31b57fcc0bb78e7d23b3abe00afeb46c93 (diff)
downloadprosody-cd483ec3391f7f0bf6b224438dface68bb555473.tar.gz
prosody-cd483ec3391f7f0bf6b224438dface68bb555473.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 ()