Skip to content

Commit

Permalink
Remove FA usage from docs (#427)
Browse files Browse the repository at this point in the history
Close #405
  • Loading branch information
Alirexaa authored Jan 29, 2025
1 parent 9d0fc41 commit bd32df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/create-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ To demonstrate how to use the integration, you should create an example applicat

The testing framework used is [`xunit`](https://xunit.net/), and you'll need to create a new test project in the `tests/` directory. The test project should be named `CommunityToolkit.Aspire.Hosting.MyIntegration.Tests` or `CommunityToolkit.Aspire.MyIntegration.Tests` following the same naming guidelines as the integration project. It's easiest to create a **Class Library** project as the `Directory.Build.props` will automatically add the necessary test dependencies.

Asserts can be written using the `Assert` type or `FluentAssertions` if that is your preferred style, both are supported.
Asserts can be written using the `Assert` type.

### Unit Tests

Expand Down Expand Up @@ -85,7 +85,7 @@ public async Task ResourceStartsAndRespondsOk(string appName)

var response = await httpClient.GetAsync("/");

response.StatusCode.Should().Be(HttpStatusCode.OK);
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
}
```

Expand Down

0 comments on commit bd32df4

Please sign in to comment.