mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Fix pubsub test, title not mandatory
This commit is contained in:
parent
17e3ed513b
commit
7c1b4d0fcd
@ -108,7 +108,7 @@ test_configure(Config) ->
|
|||||||
[{title, NodeTitle}]),
|
[{title, NodeTitle}]),
|
||||||
set_node_config(Config, Node, MyNodeConfig),
|
set_node_config(Config, Node, MyNodeConfig),
|
||||||
NewNodeConfig = get_node_config(Config, Node),
|
NewNodeConfig = get_node_config(Config, Node),
|
||||||
NodeTitle = proplists:get_value(title, NewNodeConfig),
|
NodeTitle = proplists:get_value(title, NewNodeConfig, <<>>),
|
||||||
disconnect(Config).
|
disconnect(Config).
|
||||||
|
|
||||||
test_default(Config) ->
|
test_default(Config) ->
|
||||||
@ -122,7 +122,7 @@ test_create_configure(Config) ->
|
|||||||
[{title, NodeTitle}]),
|
[{title, NodeTitle}]),
|
||||||
Node = create_node(Config, <<>>, CustomNodeConfig),
|
Node = create_node(Config, <<>>, CustomNodeConfig),
|
||||||
NodeConfig = get_node_config(Config, Node),
|
NodeConfig = get_node_config(Config, Node),
|
||||||
NodeTitle = proplists:get_value(title, NodeConfig),
|
NodeTitle = proplists:get_value(title, NodeConfig, <<>>),
|
||||||
delete_node(Config, Node),
|
delete_node(Config, Node),
|
||||||
disconnect(Config).
|
disconnect(Config).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user