Fix test by adding hide_server_info to schema

This commit is contained in:
Luke Bakken 2019-10-28 11:48:08 -07:00
parent 94bdf2a65e
commit 32e0b1bcd2
2 changed files with 10 additions and 2 deletions

View File

@ -202,7 +202,7 @@ end}.
%% CONNECT frame. %% CONNECT frame.
%% %%
%% {implicit_connect, true} %% {implicit_connect, true}
% ]},
{mapping, "stomp.implicit_connect", "rabbitmq_stomp.implicit_connect", {mapping, "stomp.implicit_connect", "rabbitmq_stomp.implicit_connect",
[{datatype, {enum, [true, false]}}]}. [{datatype, {enum, [true, false]}}]}.
@ -212,3 +212,10 @@ end}.
{mapping, "stomp.proxy_protocol", "rabbitmq_stomp.proxy_protocol", {mapping, "stomp.proxy_protocol", "rabbitmq_stomp.proxy_protocol",
[{datatype, {enum, [true, false]}}]}. [{datatype, {enum, [true, false]}}]}.
%% Whether or not to hide server info
%%
%% {hide_server_info, false}
{mapping, "stomp.hide_server_info", "rabbitmq_stomp.hide_server_info",
[{datatype, {enum, [true, false]}}]}.

View File

@ -64,7 +64,8 @@
{defaults, {defaults,
"stomp.default_user = guest "stomp.default_user = guest
stomp.default_pass = guest stomp.default_pass = guest
stomp.proxy_protocol = false", stomp.proxy_protocol = false
stomp.hide_server_info = false",
[{rabbitmq_stomp,[{default_user,[{login,"guest"},{passcode,"guest"}]}, [{rabbitmq_stomp,[{default_user,[{login,"guest"},{passcode,"guest"}]},
{proxy_protocol,false},{hide_server_info,false}]}], {proxy_protocol,false},{hide_server_info,false}]}],
[rabbitmq_stomp]}, [rabbitmq_stomp]},