Fix website tests failing

This commit is contained in:
jvyden 2022-05-14 23:50:36 -04:00
commit 3e031a342f
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
5 changed files with 36 additions and 6 deletions

View file

@ -1,6 +1,6 @@
using System;
using System.Linq;
using LBPUnion.ProjectLighthouse.Servers.GameServer.Startup;
using LBPUnion.ProjectLighthouse.Servers.Website.Startup;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Server.Features;
using OpenQA.Selenium;
@ -15,7 +15,7 @@ public class LighthouseWebTest : IDisposable
public readonly string BaseAddress;
public readonly IWebDriver Driver;
public readonly IWebHost WebHost = new WebHostBuilder().UseKestrel().UseStartup<GameServerTestStartup>().UseWebRoot("StaticFiles").Build();
public readonly IWebHost WebHost = new WebHostBuilder().UseKestrel().UseStartup<WebsiteTestStartup>().UseWebRoot("StaticFiles").Build();
public LighthouseWebTest()
{