public async Task ExportInvitations_AsViewer_ShouldExportInvitations() { // Act var file = await InvitationsControllerTestsHelper.ExportInvitationsAsync( UserType.Viewer, TestFactory.PlantWithAccess, TestFactory.ProjectWithAccess); // Assert Assert.AreEqual("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", file.ContentType); }