require"core.usermanager".create_user("test", {not "string"}, "example.com") Expected: nil, "inappropriate argument types" Actual: Error: ./util/hex.lua:19: bad argument #1 to 's_gsub' (string expected, got nil)
Fixed in https://hg.prosody.im/trunk/rev/b1ca849b8e3a
require"core.usermanager".create_user("test", {not "string"}, "example.com") Expected: nil, "inappropriate argument types" Actual: Error: ./util/hex.lua:19: bad argument #1 to 's_gsub' (string expected, got nil)
Fixed in https://hg.prosody.im/trunk/rev/b1ca849b8e3a
Changes