chore: re-adding 'Paymo' prefix in front of all classes

This commit is contained in:
Matthias Langhard
2021-12-17 15:26:09 +01:00
parent 1f6fc0a769
commit 160600c3d8
29 changed files with 269 additions and 269 deletions

View File

@@ -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});
}
}
}