WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 82d2e1a

Browse files
Fix config test case
1 parent 4151250 commit 82d2e1a

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

deps/rabbitmq_management/test/config_schema_SUITE_data/rabbitmq_management.snippets

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -703,27 +703,30 @@
703703
{oauth_resource_servers,
704704
#{
705705
<<"3">> => [
706-
{oauth_provider_url, <<"http://three">>},
706+
{index,3},
707707
{oauth_initiated_logon_type, idp_initiated},
708+
{oauth_provider_url, <<"http://three">>},
708709
{id, <<"3">>}
709710
],
710711
<<"resource-one">> => [
711712
{oauth_token_endpoint_params, [
712713
{<<"param2">>, <<"value2">>}
713714
]},
714-
{oauth_scopes, <<"openid profile rabbitmq.*">>},
715-
{oauth_client_id, <<"one">>},
716-
{label, <<"One">>},
715+
{index,1},
716+
{oauth_provider_url, <<"http://one:8080">>},
717717
{id, <<"resource-one">>},
718-
{oauth_provider_url, <<"http://one:8080">>}
718+
{label, <<"One">>},
719+
{oauth_client_id, <<"one">>},
720+
{oauth_scopes, <<"openid profile rabbitmq.*">>}
719721
],
720722
<<"resource-two">> => [
721723
{oauth_authorization_endpoint_params, [
722724
{<<"param1">>, <<"value1">>}
723725
]},
724-
{oauth_client_id, <<"two">>},
726+
{index,2},
727+
{oauth_provider_url, <<"http://two">>},
725728
{id, <<"resource-two">>},
726-
{oauth_provider_url, <<"http://two">>}
729+
{oauth_client_id, <<"two">>}
727730
]
728731
}
729732
}

0 commit comments

Comments
 (0)