Skip to content

Commit b1d6ccb

Browse files
committed
Fixing api ref
1 parent 8e5e6cd commit b1d6ccb

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/CI-CD-Docs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ jobs:
4141
dotnet build src/bunit.core/ --no-restore -p:version=$VERSION
4242
dotnet build src/bunit.web/ --no-restore -p:version=$VERSION
4343
dotnet build src/bunit.xunit/ --no-restore -p:version=$VERSION
44-
dotnet build docs/docs.csproj
45-
dotnet build docs/docs.csproj
44+
dotnet build docs/
4645
- name: Deploy
4746
uses: JamesIves/github-pages-deploy-action@releases/v3
4847
with:

docs/docs.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.4" />
1111
<PackageReference Include="xunit" Version="2.4.1" />
1212
<PackageReference Include="nunit" Version="3.12.0" />
13-
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />
14-
<PackageReference Include="docfx.console" Version="2.50.0">
13+
<PackageReference Include="MSTest.TestFramework" Version="2.1.1" />
14+
<PackageReference Include="docfx.console" Version="2.53.1">
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
<PrivateAssets>all</PrivateAssets>
1717
</PackageReference>

docs/docs/getting-started/writing-csharp-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ In this test, we do the following:
4242

4343
1. New up the disposable <xref:Bunit.TestContext>, and assign it using the `using var` syntax, to avoid unnecessary indention.
4444
2. Render the `<HelloWorld>` component using <xref:Bunit.TestContext>, which we do through the <xref:Bunit.TestContext.RenderComponent``1(Bunit.Rendering.ComponentParameter[])> method. We will cover passing parameters to components elsewhere.
45-
3. Verify the rendered markup from the `<HelloWorld>` component using the <xref:Bunit.MarkupMatchesAssertExtensions.MarkupMatches> method, which performs a semantic comparison of the expected markup with the rendered markup.
45+
3. Verify the rendered markup from the `<HelloWorld>` component using the `MarkupMatches` method, which performs a semantic comparison of the expected markup with the rendered markup.
4646

4747
> [!TIP]
4848
> Learn more about how the semantic HTML/markup comparison in bUnit work, and how to customize it on the <xref:semantic-html-comparison> page.

docs/docs/getting-started/writing-razor-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Let's break down what is going on in this test:
5151
- The <xref:Bunit.Fixture> component's `Test` parameter takes a method, which is called when the test runs, and is passed the <xref:Bunit.Fixture> component.
5252
- In the test method, we:
5353
- Use the <xref:Bunit.Fixture.GetComponentUnderTest``1> to get the `HelloWorld` declared in the <xref:Bunit.Fixture>.
54-
- Verify the rendered markup from the `HelloWorld` component using the <xref:Bunit.MarkupMatchesAssertExtensions.MarkupMatches> method, which performs a semantic comparison of the expected markup with the rendered markup.
54+
- Verify the rendered markup from the `HelloWorld` component using the `MarkupMatches` method, which performs a semantic comparison of the expected markup with the rendered markup.
5555

5656
> [!TIP]
5757
> Learn more about how the semantic HTML/markup comparison in bUnit work, and how to customize it on the <xref:semantic-html-comparison> page.

0 commit comments

Comments
 (0)