=== Test case: muc_SUITE:admin_get_form/1 (click for source code)
=== Config value:
[{watchdog,<0.32330.0>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.muc_SUITE.logs/run.2022-03-18_10.56.51/muc_suite.admin_get_form.9605.html"},
{tc_group_properties,[{name,admin},{repeat_until_all_ok,3},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.muc_SUITE.logs/run.2022-03-18_10.56.51/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => [],
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => [],mod_commands => [],
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster =>
#{backend => mnesia,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => ldap,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,
ldap =>
#{base => <<"ou=Users,dc=esl,dc=com">>,
binary_search_fields => [],deref => never,
filter => <<"(objectClass=inetOrgPerson)">>,
pool_tag => default,
search_fields =>
[{<<"User">>,<<"%u">>},
{<<"Full Name">>,<<"displayName">>},
{<<"Given Name">>,<<"givenName">>},
{<<"Middle Name">>,<<"initials">>},
{<<"Family Name">>,<<"sn">>},
{<<"Nickname">>,<<"%u">>},
{<<"Birthday">>,<<"birthDay">>},
{<<"Country">>,<<"c">>},
{<<"City">>,<<"l">>},
{<<"Email">>,<<"mail">>},
{<<"Organization Name">>,<<"o">>},
{<<"Organization Unit">>,<<"ou">>}],
search_operator => 'and',
search_reported =>
[{<<"Full Name">>,<<"FN">>},
{<<"Given Name">>,<<"FIRST">>},
{<<"Middle Name">>,<<"MIDDLE">>},
{<<"Family Name">>,<<"LAST">>},
{<<"Nickname">>,<<"NICK">>},
{<<"Birthday">>,<<"BDAY">>},
{<<"Country">>,<<"CTRY">>},
{<<"City">>,<<"LOCALITY">>},
{<<"Email">>,<<"EMAIL">>},
{<<"Organization Name">>,<<"ORGNAME">>},
{<<"Organization Unit">>,<<"ORGUNIT">>}],
uids => [{<<"uid">>,<<"%u">>}],
vcard_map =>
[{<<"NICKNAME">>,<<"%u">>,[]},
{<<"FN">>,<<"%s">>,[<<"displayName">>]},
{<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
{<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
{<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
{<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
{<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
{<<"CTRY">>,<<"%s">>,[<<"c">>]},
{<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
{<<"STREET">>,<<"%s">>,[<<"street">>]},
{<<"REGION">>,<<"%s">>,[<<"st">>]},
{<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
{<<"TITLE">>,<<"%s">>,[<<"title">>]},
{<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
{<<"DESC">>,<<"%s">>,[<<"description">>]},
{<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
{<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
{<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
{<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
{<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}]},
matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fbe05ecb9552.2022-03-18_10.50.03"
=== Started at 2022-03-18 10:56:57
*** User 2022-03-18 10:56:57.224 ***
alicE_admin_get_form_988@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 10:56:57.225 ***
alicE_admin_get_form_988@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eab9f6cbd417137d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:56:57.225 ***
alicE_admin_get_form_988@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-18 10:56:57.225 ***
alicE_admin_get_form_988@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX2dldF9mb3JtXzk4OABtYXR5Z3J5c2E=</auth>
*** User 2022-03-18 10:56:57.227 ***
alicE_admin_get_form_988@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:56:57.227 ***
alicE_admin_get_form_988@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 10:56:57.228 ***
alicE_admin_get_form_988@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e8fda4a552c8689' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:56:57.228 ***
alicE_admin_get_form_988@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-18 10:56:57.228 ***
alicE_admin_get_form_988@localhost/res1 out
<iq type='set' id='04d1535660a230c605111bd3d00c796a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 10:56:57.229 ***
alicE_admin_get_form_988@localhost/res1 in
<iq id='04d1535660a230c605111bd3d00c796a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_admin_get_form_988@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-18 10:56:57.229 ***
alicE_admin_get_form_988@localhost/res1 out
<iq type='set' id='085e06ce56f49e378ccec483e7992550'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:56:57.229 ***
alicE_admin_get_form_988@localhost/res1 in
<iq type='result' id='085e06ce56f49e378ccec483e7992550'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:56:57.230 ***
alicE_admin_get_form_988@localhost/res1 out
<presence/>
*** User 2022-03-18 10:56:57.231 ***
alicE_admin_get_form_988@localhost/res1 in
<presence from='alicE_admin_get_form_988@localhost/res1' to='alice_admin_get_form_988@localhost/res1' xml:lang='en'/>
*** User 2022-03-18 10:56:57.232 ***
bOb_admin_get_form_988@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 10:56:57.233 ***
bOb_admin_get_form_988@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2fd0e935fe79a8d0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:56:57.233 ***
bOb_admin_get_form_988@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-18 10:56:57.233 ***
bOb_admin_get_form_988@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZG1pbl9nZXRfZm9ybV85ODgAbWFrcm9saWth</auth>
*** User 2022-03-18 10:56:57.235 ***
bOb_admin_get_form_988@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:56:57.235 ***
bOb_admin_get_form_988@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 10:56:57.236 ***
bOb_admin_get_form_988@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='92c776f1d249f283' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:56:57.236 ***
bOb_admin_get_form_988@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-18 10:56:57.236 ***
bOb_admin_get_form_988@localhost/res1 out
<iq type='set' id='652e22fea0d474b5c1e3025afba89c4b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 10:56:57.236 ***
bOb_admin_get_form_988@localhost/res1 in
<iq id='652e22fea0d474b5c1e3025afba89c4b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_admin_get_form_988@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-18 10:56:57.236 ***
bOb_admin_get_form_988@localhost/res1 out
<iq type='set' id='786ca80dd4e6e83ed9523d3f31fff011'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:56:57.237 ***
bOb_admin_get_form_988@localhost/res1 in
<iq type='result' id='786ca80dd4e6e83ed9523d3f31fff011'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:56:57.237 ***
bOb_admin_get_form_988@localhost/res1 out
<presence/>
*** User 2022-03-18 10:56:57.238 ***
bOb_admin_get_form_988@localhost/res1 in
<presence from='bOb_admin_get_form_988@localhost/res1' to='bob_admin_get_form_988@localhost/res1' xml:lang='en'/>
*** User 2022-03-18 10:56:57.238 ***
kate_admin_get_form_988@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 10:56:57.240 ***
kate_admin_get_form_988@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3ee5ed33b2f782c1' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:56:57.240 ***
kate_admin_get_form_988@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-18 10:56:57.240 ***
kate_admin_get_form_988@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRtaW5fZ2V0X2Zvcm1fOTg4AG1ha3Jvd2U7cA==</auth>
*** User 2022-03-18 10:56:57.243 ***
kate_admin_get_form_988@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:56:57.243 ***
kate_admin_get_form_988@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 10:56:57.244 ***
kate_admin_get_form_988@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='25a80c98ab2586a2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:56:57.244 ***
kate_admin_get_form_988@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-18 10:56:57.244 ***
kate_admin_get_form_988@localhost/res1 out
<iq type='set' id='efce2968f61985cf32a43bc8fdc85d57'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 10:56:57.244 ***
kate_admin_get_form_988@localhost/res1 in
<iq id='efce2968f61985cf32a43bc8fdc85d57' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_admin_get_form_988@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-18 10:56:57.244 ***
kate_admin_get_form_988@localhost/res1 out
<iq type='set' id='53db469bb4d1af314cc6b5b0394f352c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:56:57.245 ***
kate_admin_get_form_988@localhost/res1 in
<iq type='result' id='53db469bb4d1af314cc6b5b0394f352c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:56:57.245 ***
kate_admin_get_form_988@localhost/res1 out
<presence/>
*** User 2022-03-18 10:56:57.246 ***
kate_admin_get_form_988@localhost/res1 in
<presence from='kate_admin_get_form_988@localhost/res1' to='kate_admin_get_form_988@localhost/res1' xml:lang='en'/>
*** User 2022-03-18 10:56:58.747 ***
alicE_admin_get_form_988@localhost/res1 out
<presence to='room-alice_admin_get_form_988@muc.localhost/alice'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-03-18 10:56:58.748 ***
alicE_admin_get_form_988@localhost/res1 in
<presence from='room-alice_admin_get_form_988@muc.localhost/alice' to='alicE_admin_get_form_988@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='alicE_admin_get_form_988@localhost/res1' affiliation='owner' role='moderator'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2022-03-18 10:56:58.748 ***
alicE_admin_get_form_988@localhost/res1 in
<message from='room-alice_admin_get_form_988@muc.localhost' to='alicE_admin_get_form_988@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-03-18 10:56:58.748 ***
alicE_admin_get_form_988@localhost/res1 out
<iq type='get' id='831db4ccb9f4c56484efc78f4f5703ca' to='room-alice_admin_get_form_988@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>
*** User 2022-03-18 10:56:58.749 ***
alicE_admin_get_form_988@localhost/res1 in
<iq from='room-alice_admin_get_form_988@muc.localhost' to='alicE_admin_get_form_988@localhost/res1' id='831db4ccb9f4c56484efc78f4f5703ca' type='result'>
<query xmlns='http://jabber.org/protocol/muc#owner'>
<instructions>You need an x:data capable client to configure room</instructions>
<x xmlns='jabber:x:data' type='form'>
<title>Configuration of room room-alice_admin_get_form_988@muc.localhost</title>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/muc#roomconfig</value>
</field>
<field type='text-single' label='Room title' var='muc#roomconfig_roomname'>
<value/>
</field>
<field type='text-single' label='Room description' var='muc#roomconfig_roomdesc'>
<value/>
</field>
<field type='boolean' label='Make room persistent' var='muc#roomconfig_persistentroom'>
<value>1</value>
</field>
<field type='boolean' label='Make room public searchable' var='muc#roomconfig_publicroom'>
<value>1</value>
</field>
<field type='boolean' label='Make participants list public' var='public_list'>
<value>1</value>
</field>
<field type='boolean' label='Make room password protected' var='muc#roomconfig_passwordprotectedroom'>
<value>0</value>
</field>
<field type='text-private' label='Password' var='muc#roomconfig_roomsecret'>
<value/>
</field>
<field type='list-multi' label='Roles and affiliations that may retrieve member list' var='muc#roomconfig_getmemberlist'>
<value>moderator</value>
<value>participant</value>
<value>visitor</value>
<option label='moderator'>
<value>moderator</value>
</option>
<option label='participant'>
<value>participant</value>
</option>
<option label='visitor'>
<value>visitor</value>
</option>
</field>
<field type='list-single' label='Maximum Number of Occupants' var='muc#roomconfig_maxusers'>
<value>200</value>
<option label='5'>
<value>5</value>
</option>
<option label='10'>
<value>10</value>
</option>
<option label='20'>
<value>20</value>
</option>
<option label='30'>
<value>30</value>
</option>
<option label='50'>
<value>50</value>
</option>
<option label='100'>
<value>100</value>
</option>
<option label='200'>
<value>200</value>
</option>
</field>
<field type='list-single' label='Present real Jabber IDs to' var='muc#roomconfig_whois'>
<value>moderators</value>
<option label='moderators only'>
<value>moderators</value>
</option>
<option label='anyone'>
<value>anyone</value>
</option>
</field>
<field type='boolean' label='Make room members-only' var='muc#roomconfig_membersonly'>
<value>0</value>
</field>
<field type='boolean' label='Make room moderated' var='muc#roomconfig_moderatedroom'>
<value>1</value>
</field>
<field type='boolean' label='Default users as participants' var='members_by_default'>
<value>1</value>
</field>
<field type='boolean' label='Allow users to change the subject' var='muc#roomconfig_changesubject'>
<value>1</value>
</field>
<field type='boolean' label='Allow users to send private messages' var='allow_private_messages'>
<value>1</value>
</field>
<field type='boolean' label='Allow users to query other users' var='allow_query_users'>
<value>1</value>
</field>
<field type='boolean' label='Allow users to send invites' var='muc#roomconfig_allowinvites'>
<value>0</value>
</field>
<field type='boolean' label='Allow users to enter room with multiple sessions' var='muc#roomconfig_allowmultisessions'>
<value>0</value>
</field>
<field type='boolean' label='Allow visitors to send status text in presence updates' var='muc#roomconfig_allowvisitorstatus'>
<value>1</value>
</field>
<field type='boolean' label='Allow visitors to change nickname' var='muc#roomconfig_allowvisitornickchange'>
<value>1</value>
</field>
<field type='boolean' label='Enable logging' var='muc#roomconfig_enablelogging'>
<value>0</value>
</field>
</x>
</query>
</iq>
*** User 2022-03-18 10:56:58.749 ***
kate_admin_get_form_988@localhost/res1 out
</stream:stream>
*** User 2022-03-18 10:56:58.749 ***
kate_admin_get_form_988@localhost/res1 in
</stream:stream>
*** User 2022-03-18 10:56:58.749 ***
bOb_admin_get_form_988@localhost/res1 out
</stream:stream>
*** User 2022-03-18 10:56:58.750 ***
bOb_admin_get_form_988@localhost/res1 in
</stream:stream>
*** User 2022-03-18 10:56:58.750 ***
alicE_admin_get_form_988@localhost/res1 out
</stream:stream>
*** User 2022-03-18 10:56:58.750 ***
alicE_admin_get_form_988@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-18 10:56:58
=== successfully completed test case
=== === Returned value: ok