Footer layout

This commit is contained in:
2022-05-25 09:07:36 +01:00
parent 5d59760a77
commit d7f0a5db36
7 changed files with 7888 additions and 27 deletions

View File

@ -8,14 +8,14 @@ using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Diagnostics;
namespace isnd.host.tests
{
public class UnitTestWebHost
{
[Fact]
public void TestHaveTestDbContextAndMigrate()
{
string envVar = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT");
@ -44,15 +44,19 @@ namespace isnd.host.tests
.UseStartup<Startup>()
.Build();
[Fact]
private class Butts: List<Butt>
public async Task NugetInstallsTest()
{
public bool Im12 { get; set; }
IWebHost webhost = BuildWebHost(new string[0]);
Task running = Task.Run(async () => await webhost.StartAsync());
ProcessStartInfo psi = new ProcessStartInfo("nuget");
psi.ArgumentList.Add("install");
psi.ArgumentList.Add("isn");
Process p = Process.Start(psi);
p.WaitForExit();
await webhost.StopAsync();
}
private class Butt
{
public bool Im12 { get; set; }
}
}
}

View File

@ -10,5 +10,12 @@
"Port": 25,
"SenderName": "Paul Schneider",
"SenderEmail": "paul@pschneider.fr"
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:5005"
}
}
}
}