Skip to content

Commit

Permalink
undo default EnvironmentName, breaks config based Environment Name
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed May 10, 2024
1 parent cf07573 commit 88f8364
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
with:
name: packages
path: "${{env.BUILD_PATH}}"

deploy:
runs-on: ubuntu-latest
needs: build
Expand Down
4 changes: 2 additions & 2 deletions src/XUnit.Hosting/TestApplicationFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ protected virtual IHost CreateHost()
/// Creates the settings for constructing an Microsoft.Extensions.Hosting.HostApplicationBuilder.
/// </summary>
/// <returns>A new instance of <see cref="HostApplicationBuilderSettings"/></returns>
protected virtual HostApplicationBuilderSettings CreateBuilderSettings()
protected virtual HostApplicationBuilderSettings? CreateBuilderSettings()
{
return new HostApplicationBuilderSettings { EnvironmentName = Environments.Development };
return null;
}

/// <summary>
Expand Down

0 comments on commit 88f8364

Please sign in to comment.