Footer layout
This commit is contained in:
@ -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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user