Skip to content

Commit

Permalink
Merge pull request #29686 from dotnet/main
Browse files Browse the repository at this point in the history
Merge to Live
  • Loading branch information
Rick-Anderson committed Jun 30, 2023
2 parents 0f0c411 + c21e009 commit 7ee471e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion aspnetcore/blazor/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ To attach to a running Blazor app, create a `.vscode/launch.json` file with the

```json
{
"name": "Attach and Debug"
"name": "Attach and Debug",
"type": "blazorwasm",
"request": "attach",
"url": "{URL}"
Expand Down
2 changes: 2 additions & 0 deletions aspnetcore/test/integration-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ Create the `WebApplicationFactoryClientOptions` class and pass it to the <xref:M

[!code-csharp[](~/../AspNetCore.Docs.Samples/test/integration-tests/IntegrationTestsSample/tests/RazorPagesProject.Tests/IntegrationTests/IndexPageTests.cs?name=snippet1)]

***NOTE:*** To avoid HTTPS redirection warnings in logs when using HTTPS Redirection Middleware, set `BaseAddress = new Uri("https://localhost")`

## Inject mock services

Services can be overridden in a test with a call to <xref:Microsoft.AspNetCore.TestHost.WebHostBuilderExtensions.ConfigureTestServices%2A> on the host builder.
Expand Down

0 comments on commit 7ee471e

Please sign in to comment.