diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-24 00:06:55 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-24 00:06:55 +0100 |
commit | cd483ec3391f7f0bf6b224438dface68bb555473 (patch) | |
tree | 96a891a161a65b4378aca854fc6f09af6ef6b5b6 /spec | |
parent | d31e3f31b57fcc0bb78e7d23b3abe00afeb46c93 (diff) | |
download | prosody-cd483ec3391f7f0bf6b224438dface68bb555473.tar.gz prosody-cd483ec3391f7f0bf6b224438dface68bb555473.zip |
net.http.server: Prevent loading of net.server in tests (breaks unrelated tests for some reason)
Diffstat (limited to 'spec')
-rw-r--r-- | spec/net_http_server_spec.lua | 1 |
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 () |