Skip to content

Commit d26ce5b

Browse files
author
imranazad
committed
EC-1107 Fix Tests
1 parent 17c916b commit d26ce5b

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

Comments.Test/Infrastructure/TestBase.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,7 @@ public TestBase(bool useRealSubmitService = false, TestUserType testUserType = T
174174
{
175175
["Encryption:Key"] = "Key",
176176
["Encryption:IV"] = "IV"
177-
});
178-
179-
config.AddUserSecrets<Startup>(); // optional
177+
});
180178
}).ConfigureServices(services =>
181179
{
182180
services.AddEntityFrameworkSqlite();

Comments.Test/Infrastructure/TestBaseLight.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@ protected static (TestServer testServer, HttpClient httpClient) InitialiseServer
3535
{
3636
config.AddInMemoryCollection(new Dictionary<string, string>
3737
{
38-
["EncryptionConfig:Key"] = "Key",
39-
["EncryptionConfig:IV"] = "IV"
38+
["Encryption:Key"] = "Key",
39+
["Encryption:IV"] = "IV"
4040
});
41-
42-
config.AddUserSecrets<Startup>(); // optional
4341
})
4442
.ConfigureServices(services =>
4543
{

0 commit comments

Comments
 (0)