diff --git a/Directory.Build.props b/Directory.Build.props index 0fc286bc..4db2ce88 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,16 +1,12 @@ - latest - - true - @benfoster - o9d - https://github.com/truelayer/truelayer-sdk-net - https://github.com/truelayer/truelayer-sdk-net.git + TrueLayer + TrueLayer + https://github.com/truelayer/truelayer-dotnet + https://github.com/truelayer/truelayer-dotnet.git git diff --git a/src/TrueLayer/TrueLayer.csproj b/src/TrueLayer/TrueLayer.csproj index f8a5b628..74b4c414 100644 --- a/src/TrueLayer/TrueLayer.csproj +++ b/src/TrueLayer/TrueLayer.csproj @@ -6,7 +6,7 @@ TrueLayer.Client .NET client for the TrueLayer API icon.png - latest + 10.0 TrueLayer TrueLayer https://github.com/TrueLayer/truelayer-dotnet diff --git a/test/TrueLayer.Tests/TrueLayer.Tests.csproj b/test/TrueLayer.Tests/TrueLayer.Tests.csproj index e55a1be3..678d8008 100644 --- a/test/TrueLayer.Tests/TrueLayer.Tests.csproj +++ b/test/TrueLayer.Tests/TrueLayer.Tests.csproj @@ -2,6 +2,7 @@ net9.0;net8.0;net6.0;netcoreapp3.1 false + 10.0 enable nullable; diff --git a/test/TrueLayer.Tests/TrueLayerServiceCollectionExtensionsTests.cs b/test/TrueLayer.Tests/TrueLayerServiceCollectionExtensionsTests.cs index eba82b63..eab7a820 100644 --- a/test/TrueLayer.Tests/TrueLayerServiceCollectionExtensionsTests.cs +++ b/test/TrueLayer.Tests/TrueLayerServiceCollectionExtensionsTests.cs @@ -20,12 +20,13 @@ public void Should_register_truelayer_client() WS1/11+TH1x/lgKckAws6sAzJLPtCUZLV4IZTb6ENg== -----END EC PRIVATE KEY-----"; var configuration = new ConfigurationBuilder() - .AddInMemoryCollection([ + .AddInMemoryCollection(new[] + { new KeyValuePair("TrueLayer:ClientId", "client_id"), new KeyValuePair("TrueLayer:ClientSecret", "secret"), new KeyValuePair("TrueLayer:Payments:SigningKey:KeyId", Guid.NewGuid().ToString()), new KeyValuePair("TrueLayer:Payments:SigningKey:PrivateKey", privateKey) - ]) + }) .Build(); var services = new ServiceCollection() .AddTrueLayer(configuration)