Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi committed Sep 24, 2024
1 parent 81576ca commit 6ec645e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public static void ConfiureMiddlewares(this WebApplication app)
await next.Invoke();
});
}
app.UseBlazorFrameworkFiles();
app.UseStaticFiles();

if (string.IsNullOrEmpty(env.WebRootPath) is false && Path.Exists(Path.Combine(env.WebRootPath, @".well-known")))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ public AppTestServer Build(Action<IServiceCollection>? configureTestServices = n

var builder = WebApplication.CreateBuilder(options: new()
{
EnvironmentName = Environments.Development
EnvironmentName = Environments.Development,
Args = Environment.GetCommandLineArgs()
});

AppEnvironment.Set(builder.Environment.EnvironmentName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
Expand All @@ -15,7 +14,6 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="FakeItEasy" Version="8.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.8" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Microsoft.Playwright.MSTest" Version="1.47.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.0" />
Expand All @@ -31,6 +29,7 @@
<ItemGroup>
<Using Include="System.Net.Http.Headers" />
<Using Include="System.Net.Http.Json" />
<Using Include="Boilerplate.Shared" />
<Using Include="Boilerplate.Shared.Enums" />
<Using Include="Microsoft.AspNetCore.Components" />
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Boilerplate.Shared;
using Microsoft.Playwright.MSTest;
using Microsoft.Playwright.MSTest;

namespace Boilerplate.Tests;

Expand Down

0 comments on commit 6ec645e

Please sign in to comment.