anchor.diff:              }
           }),
   
  -        {ok, #onepanel_user{uuid = OnepanelUserId}} = ?assertMatch({ok, #onepanel_user{}},
  -            rpc:call(OzNode, onepanel_user, get, [?OZ_USERNAME]),
  -            ?AWAIT_OZ_CONNECTIVITY_ATTEMPTS
  -        ),
  -
  -        {ok, OnezoneUserId} = ?assertMatch({ok, _},
  -            proxy_rpc(OzNode, OzwNode, user_logic, acquire_onepanel_user,
  -                [OnepanelUserId, ?OZ_USERNAME, ?OZ_PASSWORD]
  -            ),
  -            ?AWAIT_OZ_CONNECTIVITY_ATTEMPTS
  -        ),
  -        % @fixme bad code
  -        Client = {client, user, OnezoneUserId},
  -
  -        {ok, RegistrationToken} = ?assertMatch({ok, _},
  -            proxy_rpc(OzNode, OzwNode,
  -                user_logic, create_provider_registration_token, [Client, OnezoneUserId]
  -            ),
  -            ?AWAIT_OZ_CONNECTIVITY_ATTEMPTS),
  -
  -        {ok, SerializedToken} = onedata_macaroons:serialize(RegistrationToken),
           [OpNode | _] = OpNodes = ?config(oneprovider_nodes, NewConfig2),
           OpHosts = hosts:from_nodes(OpNodes),
           % We do not have a DNS server that would resolve OZ domain for provider,
  
positive.code:         end, OpNodes),
  
          {ok, Posix} = onepanel_lists:get([storages, posix, '/mnt/st1'], NewConfig2),
          onepanel_test_utils:service_action(OpNode, ?SERVICE_OP, deploy, #{
              cluster => #{
                  ?SERVICE_PANEL => #{
  
negative.code: %%%===================================================================
  
  service_oneprovider_unregister_register_test(Config) ->
      [OzNode | _] = ?config(onezone_nodes, Config),
      [OpNode | _] = ?config(oneprovider_nodes, Config),
      onepanel_test_utils:service_action(OpNode, oneprovider, unregister, #{}),
      % graph sync connection shut down 5 seconds after unregistration
      timer:sleep(timer:seconds(10)),
      onepanel_test_utils:service_action(OpNode, oneprovider, register, #{
          oneprovider_geo_latitude => 20.0,
          oneprovider_geo_longitude => 20.0,
          oneprovider_name => <<"provider2">>,
          oneprovider_domain => hosts:from_node(OpNode),
          oneprovider_admin_email => <<"admin@onedata.org">>,
          oneprovider_token => get_registration_token(OzNode)
      }).
  
  
  