chore: re-adding 'Paymo' prefix in front of all classes
This commit is contained in:
@@ -10,12 +10,12 @@ namespace Novaloop.PaymoApi.Tests
|
||||
{
|
||||
public static class DependencyFactory
|
||||
{
|
||||
public static ApiClient GeneratePaymoApiClient()
|
||||
public static PaymoPaymoIApiClient GeneratePaymoApiClient()
|
||||
{
|
||||
return new ApiClient(new HttpClient(new LoggingHandler(new HttpClientHandler(), new NullLogger<LoggingHandler>())) {BaseAddress = new Uri("https://app.paymoapp.com/")});
|
||||
return new PaymoPaymoIApiClient(new HttpClient(new PaymoLoggingHandler(new HttpClientHandler(), new NullLogger<PaymoLoggingHandler>())) {BaseAddress = new Uri("https://app.paymoapp.com/")});
|
||||
}
|
||||
|
||||
public static IOptions<ApiOptions> GenerateOptions()
|
||||
public static IOptions<PaymoApiOptions> GenerateOptions()
|
||||
{
|
||||
var paymoToken = new ConfigurationBuilder()
|
||||
.SetBasePath(AppContext.BaseDirectory)
|
||||
@@ -29,7 +29,7 @@ namespace Novaloop.PaymoApi.Tests
|
||||
throw new ArgumentException("Please set the environment variable 'PAYMOAPIINTEGRATIONTESTS__PAYMOTESTPROJECTTOKEN' with the token of your paymo test-project. Look inside Bitwarden if you work @ Novaloop.");
|
||||
}
|
||||
|
||||
return Options.Create(new ApiOptions {ApiToken = paymoToken});
|
||||
return Options.Create(new PaymoApiOptions {ApiToken = paymoToken});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user