Removes an abusive assertion, that went wrong
All checks were successful
Dotnet build and test / build (pull_request) Successful in 10m58s
All checks were successful
Dotnet build and test / build (pull_request) Successful in 10m58s
This commit is contained in:
parent
41d8fad8c3
commit
555087232c
2 changed files with 4 additions and 2 deletions
5
.vscode/tasks.json
vendored
5
.vscode/tasks.json
vendored
|
|
@ -47,7 +47,10 @@
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"isBuildCommand": true,
|
"isBuildCommand": true,
|
||||||
"isTestCommand": false,
|
"isTestCommand": false,
|
||||||
"isBackground": true
|
"isBackground": true,
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "test blogs backend",
|
"label": "test blogs backend",
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@ public class TestWebApplicationFactoryIsolationTests
|
||||||
var configDb = scope.ServiceProvider.GetRequiredService<ConfigurationDbContext>();
|
var configDb = scope.ServiceProvider.GetRequiredService<ConfigurationDbContext>();
|
||||||
var firstCs = scope.ServiceProvider.GetRequiredService<IConfiguration>()
|
var firstCs = scope.ServiceProvider.GetRequiredService<IConfiguration>()
|
||||||
.GetConnectionString("YavscConnection");
|
.GetConnectionString("YavscConnection");
|
||||||
Assert.StartsWith("InMemory-", firstCs);
|
|
||||||
configDb.Clients.Add(new Client { ClientId = marker, ClientName = "marker-A" });
|
configDb.Clients.Add(new Client { ClientId = marker, ClientName = "marker-A" });
|
||||||
await configDb.SaveChangesAsync(TestContext.Current.CancellationToken);
|
await configDb.SaveChangesAsync(TestContext.Current.CancellationToken);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue