anchor.diff:      Nodes = ?config(oneprovider_nodes, Config),
       Hosts = lists:map(fun hosts:from_node/1, Nodes),
       ?run(Config, fun(Host) ->
  +        ?assertMatch({ok, 200, _, _},
  +            onepanel_test_rest:auth_request(
  +                Host, <<"/provider/cluster_ips">>, get,
  +                {access_token, ?ONEZONE_TOKEN}
  +            )
  +        ),
           {_, _, _, JsonBody} = ?assertMatch({ok, 200, _, _},
               onepanel_test_rest:auth_request(
                   Host, <<"/provider/cluster_ips">>, get,
  
positive.code: -module(rest_oneprovider_test_SUITE).
  -author("Krzysztof Trzepla").
  
  -include("modules/models.hrl").
  -include("onepanel_test_utils.hrl").
  -include_lib("ctool/include/test/assertions.hrl").
  
negative.code:         Self ! {service, Service, Action, Ctx},
          [{task_finished, {service, action, ok}}]
      end),
      test_utils:mock_expect(Nodes, service, apply_sync, fun(Service, Action, Ctx) ->
          Self ! {service, Service, Action, Ctx},
          [{task_finished, {service, action, ok}}]
      end),
      test_utils:mock_expect(OzNodes, zone_tokens, authenticate_by_onezone_access_token, fun
          (?ONEZONE_TOKEN) -> #client{
              role = user, privileges = [], zone_auth = ?OZ_AUTH(?ONEZONE_TOKEN),
              user = #user_details{name = ?OZ_USER_NAME}
          } end),
      test_utils:mock_expect(OpNodes, zone_tokens, authenticate_by_onezone_access_token, fun
          (?ONEZONE_TOKEN) -> #client{
              role = user, privileges = [], zone_auth = ?OP_AUTH(?ONEZONE_TOKEN),
              user = #user_details{name = ?OZ_USER_NAME}
          } end),
  
      Config.
  
  
  