Skip to content

Commit

Permalink
Renamed ClientConfigurator to HttpClientConfigurator
Browse files Browse the repository at this point in the history
  • Loading branch information
Kralizek committed Jan 15, 2021
1 parent adcab57 commit 6952e54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace InsightArchitectures.Extensions.Http
/// <summary>
/// An abstract class that can be used to collect changes to configurations of <see cref="IServiceCollection" /> and <see cref="IHttpClientBuilder" />.
/// </summary>
public abstract class ClientConfigurator
public abstract class HttpClientConfigurator
{
/// <summary>
/// A collection of actions to be applied on an instance of <see cref="IHttpClientBuilder" />.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using AutoFixture.Idioms;
using AutoFixture.NUnit3;
using InsightArchitectures.Extensions.Http;
using Microsoft.Extensions.DependencyInjection;
using Moq;
Expand All @@ -10,7 +9,8 @@
namespace Tests.Http
{
[TestFixture]
public class ClientConfiguratorTests
[TestOf(typeof(HttpClientConfigurator))]
public class HttpClientConfiguratorTests
{
[Test, CustomAutoData]
public void Nulls_are_not_allowed(GuardClauseAssertion assertion) => assertion.Verify(typeof(TestClientConfigurator));
Expand Down Expand Up @@ -52,7 +52,7 @@ public void HttpClientBuilder_action_is_added_and_applied(TestClientConfigurator
}
}

public class TestClientConfigurator : ClientConfigurator
public class TestClientConfigurator : HttpClientConfigurator
{
public IEnumerable<Action<IServiceCollection>> ServiceCollectionActions => ServiceCollectionConfigurations;

Expand Down

0 comments on commit 6952e54

Please sign in to comment.