public async Task GetClientTestAsync() { GotifySharp gotifySharp = new GotifySharp(Settings.Config); var res = await gotifySharp.CreateClientAsync("Test"); var res2 = await gotifySharp.CreateClientAsync("Test2"); var results = await gotifySharp.GetClientAsync(); results.Success.Should().BeTrue(); }
public async Task DeleteClientTestAsync() { GotifySharp gotifySharp = new GotifySharp(Settings.Config); var createResponse = await gotifySharp.CreateClientAsync("Test"); var results = await gotifySharp.DeleteClientAsync(createResponse.ClientModel.Id.ToString()); results.Should().BeTrue(); }