public void TestUpdateMetadataListFail() { var account = new CF_Account(_conn, _client); _conn.UserCreds.AuthToken = "fail"; Assert.Throws <CloudFilesException>(() => account.UpdateMetadata(new Dictionary <string, string>())); }
public void TestUpdateMetadata() { var account = new CF_Account(_conn, _client); _conn.UserCreds.AuthToken = "post-object"; account.UpdateMetadata(new Dictionary <string, string>()); }
public void TestUpdateMetadataListFail() { var account = new CF_Account(_conn, _client); _conn.UserCreds.AuthToken = "fail"; Assert.Throws<CloudFilesException>(() => account.UpdateMetadata(new Dictionary<string, string>())); }
public void TestUpdateMetadata() { var account = new CF_Account(_conn, _client); _conn.UserCreds.AuthToken = "post-object"; account.UpdateMetadata(new Dictionary<string, string>()); }