Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Activout.RestClient.Test/BodyArgumentFormPostTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public interface IFormPostClient

public class BodyArgumentFormPostTest
{
private const string BaseUri = "http://example.com/";
private const string BaseUri = "https://example.com/";

private readonly IRestClientFactory _restClientFactory;
private readonly MockHttpMessageHandler _mockHttp;
Expand Down
2 changes: 1 addition & 1 deletion Activout.RestClient.Test/HttpResponseMessageTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Activout.RestClient.Test
{
public class HttpResponseMessageTest
{
private const string BaseUri = "http://example.com/";
private const string BaseUri = "https://example.com/";

private readonly IRestClientFactory _restClientFactory;
private readonly MockHttpMessageHandler _mockHttp;
Expand Down
2 changes: 1 addition & 1 deletion Activout.RestClient.Test/HttpStatusCodeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Activout.RestClient.Test
{
public class HttpStatusCodeTest
{
private const string BaseUri = "http://example.com/";
private const string BaseUri = "https://example.com/";

private readonly IRestClientFactory _restClientFactory;
private readonly MockHttpMessageHandler _mockHttp;
Expand Down
2 changes: 1 addition & 1 deletion Activout.RestClient.Test/JsonDeserializerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public JsonDeserializerTest()
_mockHttp = new MockHttpMessageHandler();
}

private const string BaseUri = "http://example.com/api/";
private const string BaseUri = "https://example.com/api/";

private readonly IRestClientFactory _restClientFactory;
private readonly MockHttpMessageHandler _mockHttp;
Expand Down
2 changes: 1 addition & 1 deletion Activout.RestClient.Test/MultipartFormDataContentTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Activout.RestClient.Test
{
public class MultipartFormDataContentTest
{
private const string BaseUri = "http://example.com/";
private const string BaseUri = "https://example.com/";

private readonly IRestClientFactory _restClientFactory;
private readonly MockHttpMessageHandler _mockHttp;
Expand Down
2 changes: 1 addition & 1 deletion Activout.RestClient.Test/RestClientExceptionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Activout.RestClient.Test
// https://blogs.msdn.microsoft.com/agileer/2013/05/17/the-correct-way-to-code-a-custom-exception-class/
public class RestClientExceptionTest
{
private static readonly Uri RequestUri = new Uri("http://localhost");
private static readonly Uri RequestUri = new Uri("https://example.com");

[Fact]
public void RestClientException_default_ctor()
Expand Down
2 changes: 1 addition & 1 deletion Activout.RestClient.Test/RestClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public RestClientTests(ITestOutputHelper outputHelper)
_loggerFactory = LoggerFactoryHelpers.CreateLoggerFactory(outputHelper);
}

private const string BaseUri = "http://localhost:9080/movieReviewService";
private const string BaseUri = "https://example.com/movieReviewService";
private const string MovieId = "*MOVIE_ID*";
private const string ReviewId = "*REVIEW_ID*";

Expand Down
2 changes: 1 addition & 1 deletion Activout.RestClient.Test/SerializationOrderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Activout.RestClient.Test
{
public class SerializationOrderTest
{
private const string BaseUri = "http://example.com/";
private const string BaseUri = "https://example.com/";
private const int OrderFirst = -1000;
private const int OrderLast = 1000;

Expand Down
2 changes: 1 addition & 1 deletion Activout.RestClient.Test/SimpleValueObjectTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public SimpleValueObjectTest()
_mockHttp = new MockHttpMessageHandler();
}

private const string BaseUri = "http://example.com/api/";
private const string BaseUri = "https://example.com/api/";

private readonly IRestClientFactory _restClientFactory;
private readonly MockHttpMessageHandler _mockHttp;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var restClientFactory = Services.CreateRestClientFactory();
var movieReviewService = restClientFactory
.CreateBuilder()
.With(_httpClient)
.BaseUri(new Uri("http://localhost:9080/movieReviewService"))
.BaseUri(new Uri("https://example.com/movieReviewService"))
.Build<IMovieReviewService>();

Review review = new Review(stars: 3, "This was a delightful comedy, but not terribly realistic.");
Expand Down