1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

Replace async void with async Task (#3835)

This commit is contained in:
Justin Baur
2024-02-22 10:59:08 -06:00
committed by GitHub
parent 1499d1e2c6
commit e22da3a53e
28 changed files with 211 additions and 211 deletions

View File

@ -28,7 +28,7 @@ public class SelfHostedGetOrganizationLicenseQueryTests
[Theory]
[BitAutoData]
[OrganizationLicenseCustomize]
public async void GetLicenseAsync_Success(Organization organization,
public async Task GetLicenseAsync_Success(Organization organization,
OrganizationConnection<BillingSyncConfig> billingSyncConnection, BillingSyncConfig config, OrganizationLicense license)
{
var sutProvider = GetSutProvider(config, JsonSerializer.Serialize(license));
@ -41,7 +41,7 @@ public class SelfHostedGetOrganizationLicenseQueryTests
[Theory]
[BitAutoData]
public async void GetLicenseAsync_WhenNotSelfHosted_Throws(Organization organization,
public async Task GetLicenseAsync_WhenNotSelfHosted_Throws(Organization organization,
OrganizationConnection billingSyncConnection, BillingSyncConfig config)
{
var sutProvider = GetSutProvider(config);
@ -54,7 +54,7 @@ public class SelfHostedGetOrganizationLicenseQueryTests
[Theory]
[BitAutoData]
public async void GetLicenseAsync_WhenCloudCommunicationDisabled_Throws(Organization organization,
public async Task GetLicenseAsync_WhenCloudCommunicationDisabled_Throws(Organization organization,
OrganizationConnection billingSyncConnection, BillingSyncConfig config)
{
var sutProvider = GetSutProvider(config);
@ -67,7 +67,7 @@ public class SelfHostedGetOrganizationLicenseQueryTests
[Theory]
[BitAutoData]
public async void GetLicenseAsync_WhenCantUseConnection_Throws(Organization organization,
public async Task GetLicenseAsync_WhenCantUseConnection_Throws(Organization organization,
OrganizationConnection<BillingSyncConfig> billingSyncConnection, BillingSyncConfig config)
{
var sutProvider = GetSutProvider(config);
@ -80,7 +80,7 @@ public class SelfHostedGetOrganizationLicenseQueryTests
[Theory]
[BitAutoData]
public async void GetLicenseAsync_WhenNullResponse_Throws(Organization organization,
public async Task GetLicenseAsync_WhenNullResponse_Throws(Organization organization,
OrganizationConnection<BillingSyncConfig> billingSyncConnection, BillingSyncConfig config)
{
var sutProvider = GetSutProvider(config);