From 555087232c65309c07cab1b8b7c9afa86033faaa Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 7 Sep 2026 19:16:23 +0100 Subject: [PATCH] Removes an abusive assertion, that went wrong --- .vscode/tasks.json | 5 ++++- .../Controllers/TestWebApplicationFactoryIsolationTests.cs | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index a30c9c065..82721d8a2 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -47,7 +47,10 @@ "group": "build", "isBuildCommand": true, "isTestCommand": false, - "isBackground": true + "isBackground": true, + "options": { + "cwd": "${workspaceFolder}" + } }, { "label": "test blogs backend", diff --git a/src/Yavsc.Org.Tests/Controllers/TestWebApplicationFactoryIsolationTests.cs b/src/Yavsc.Org.Tests/Controllers/TestWebApplicationFactoryIsolationTests.cs index ec86ffe84..491a0c6e0 100644 --- a/src/Yavsc.Org.Tests/Controllers/TestWebApplicationFactoryIsolationTests.cs +++ b/src/Yavsc.Org.Tests/Controllers/TestWebApplicationFactoryIsolationTests.cs @@ -40,7 +40,6 @@ public class TestWebApplicationFactoryIsolationTests var configDb = scope.ServiceProvider.GetRequiredService(); var firstCs = scope.ServiceProvider.GetRequiredService() .GetConnectionString("YavscConnection"); - Assert.StartsWith("InMemory-", firstCs); configDb.Clients.Add(new Client { ClientId = marker, ClientName = "marker-A" }); await configDb.SaveChangesAsync(TestContext.Current.CancellationToken);