mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +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}]),
|
||||
set_node_config(Config, Node, MyNodeConfig),
|
||||
NewNodeConfig = get_node_config(Config, Node),
|
||||
NodeTitle = proplists:get_value(title, NewNodeConfig),
|
||||
NodeTitle = proplists:get_value(title, NewNodeConfig, <<>>),
|
||||
disconnect(Config).
|
||||
|
||||
test_default(Config) ->
|
||||
@ -122,7 +122,7 @@ test_create_configure(Config) ->
|
||||
[{title, NodeTitle}]),
|
||||
Node = create_node(Config, <<>>, CustomNodeConfig),
|
||||
NodeConfig = get_node_config(Config, Node),
|
||||
NodeTitle = proplists:get_value(title, NodeConfig),
|
||||
NodeTitle = proplists:get_value(title, NodeConfig, <<>>),
|
||||
delete_node(Config, Node),
|
||||
disconnect(Config).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user