anchor.diff:  
   
   set_shared_file_rdf_metadata_test(Config) ->
  -    set_rdf_metadata_for_shared_file_test_base(<<"file">>, Config).
  -
  -
  -set_shared_dir_rdf_metadata_test(Config) ->
  -    set_rdf_metadata_for_shared_file_test_base(<<"dir">>, Config).
  -
  -
  -%% @private
  -set_rdf_metadata_for_shared_file_test_base(FileType, Config) ->
       [P2, P1] = Providers = ?config(op_worker_nodes, Config),
       SessIdP1 = ?USER_IN_BOTH_SPACES_SESS_ID(P1, Config),
       SessIdP2 = ?USER_IN_BOTH_SPACES_SESS_ID(P2, Config),
   
  +    FileType = api_test_utils:randomly_choose_file_type_for_test(),
       FilePath = filename:join(["/", ?SPACE_2, ?RANDOM_FILE_NAME()]),
       {ok, FileGuid} = api_test_utils:create_file(FileType, P1, SessIdP1, FilePath),
       {ok, ShareId} = lfm_proxy:create_share(P1, SessIdP1, {guid, FileGuid}, <<"share">>),
  
positive.code: 
  
  set_shared_file_json_metadata_test(Config) ->
      set_json_metadata_for_shared_file_test_base(<<"file">>, Config).
  
  
  set_shared_dir_json_metadata_test(Config) ->
      set_json_metadata_for_shared_file_test_base(<<"dir">>, Config).
  
  
  %% @private
  set_json_metadata_for_shared_file_test_base(FileType, Config) ->
      [P2, P1] = Providers = ?config(op_worker_nodes, Config),
      SessIdP1 = ?USER_IN_BOTH_SPACES_SESS_ID(P1, Config),
      SessIdP2 = ?USER_IN_BOTH_SPACES_SESS_ID(P2, Config),
  
      FilePath = filename:join(["/", ?SPACE_2, ?RANDOM_FILE_NAME()]),
      {ok, FileGuid} = api_test_utils:create_file(FileType, P1, SessIdP1, FilePath),
      {ok, ShareId} = lfm_proxy:create_share(P1, SessIdP1, {guid, FileGuid}, <<"share">>),
  
negative.code: 
  
  set_file_rdf_metadata_test(Config) ->
      [P2, P1] = Providers = ?config(op_worker_nodes, Config),
      SessIdP1 = ?USER_IN_BOTH_SPACES_SESS_ID(P1, Config),
      SessIdP2 = ?USER_IN_BOTH_SPACES_SESS_ID(P2, Config),
  
      FileType = api_test_utils:randomly_choose_file_type_for_test(),
      FilePath = filename:join(["/", ?SPACE_2, ?RANDOM_FILE_NAME()]),
      {ok, FileGuid} = api_test_utils:create_file(FileType, P1, SessIdP1, FilePath),
      api_test_utils:wait_for_file_sync(P2, SessIdP2, FileGuid),
  