Regenerate the secret
This commit is contained in:
parent
3508f0a55d
commit
19cf073677
10 changed files with 199 additions and 16 deletions
|
|
@ -119,18 +119,8 @@ namespace yavscTests.ServerFixtures
|
|||
|
||||
public async Task SetupHost()
|
||||
{
|
||||
|
||||
var builder = WebApplication.CreateBuilder();
|
||||
|
||||
var slnDir = builder.Configuration.GetValue<string>("SLNDIR");
|
||||
Assert.NotNull(slnDir);
|
||||
|
||||
var yavscOrgPath = Path.GetFullPath(
|
||||
Path.Combine(slnDir,
|
||||
"src/Yavsc.Org"));
|
||||
|
||||
|
||||
Directory.SetCurrentDirectory(yavscOrgPath);
|
||||
builder.AddConfiguration("org").AddInMemoryCollection(new Dictionary<string, string?>
|
||||
{
|
||||
[$"ConnectionStrings:{YavscConstants.YavscConnectionStringName}"] = "InMemory"
|
||||
|
|
|
|||
|
|
@ -63,7 +63,6 @@
|
|||
"UserName": "fakeuser",
|
||||
"Password": "f/\\kePassw0rd"
|
||||
}
|
||||
},
|
||||
"SLNDIR": "/home/paul/Workspace/yavsc"
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue