public void GetAccountInformation_AuthenticatedUserV1_Succeeds(string email, string password) { this.context.Client.Login(email, password); var authenticatedTestContext = new AuthenticatedTestContext(); var protectedNodes = authenticatedTestContext.ProtectedNodes; this.SanitizeStorage(protectedNodes); IAccountInformation accountInformation = this.context.Client.GetAccountInformation(); Assert.NotNull(accountInformation); Assert.Equal(53687091200, accountInformation.TotalQuota); Assert.Equal(1046530 + AuthenticatedTestContext.FileSize + AuthenticatedTestContext.SubFolderFileSize, accountInformation.UsedQuota); // 1046530 is from incoming shares }
public void GetAccountInformation_AuthenticatedUser_Succeeds(string email, string password) { this.context.Client.Login(email, password); var authenticatedTestContext = new AuthenticatedTestContext(); var protectedNodes = authenticatedTestContext.ProtectedNodes; this.SanitizeStorage(protectedNodes); IAccountInformation accountInformation = this.context.Client.GetAccountInformation(); Assert.NotNull(accountInformation); Assert.Equal(53687091200, accountInformation.TotalQuota); Assert.Equal(1569795, accountInformation.UsedQuota); }
public NodeOperationsAuthenticated(AuthenticatedTestContext context, ITestOutputHelper testOutputHelper) : base(context, testOutputHelper) { }
public DownloadUploadAuthenticated(AuthenticatedTestContext context, ITestOutputHelper testOutputHelper) : base(context, testOutputHelper) { }