Skip to content

Commit

Permalink
Bump NSubstitute.Analyzers.CSharp from 1.0.15 to 1.0.17 (dotnet#193)
Browse files Browse the repository at this point in the history
* Bump NSubstitute.Analyzers.CSharp from 1.0.15 to 1.0.17

Bumps [NSubstitute.Analyzers.CSharp](https://github.com/nsubstitute/NSubstitute.Analyzers) from 1.0.15 to 1.0.17.
- [Changelog](https://github.com/nsubstitute/NSubstitute.Analyzers/blob/1.0.17/ReleaseNotes.md)
- [Commits](nsubstitute/NSubstitute.Analyzers@1.0.15...1.0.17)

---
updated-dependencies:
- dependency-name: NSubstitute.Analyzers.CSharp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* cleanup test

* try fix test

* task again with order

* from docs

* typo

* disable warning for now

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Montemagno <james.montemagno@gmail.com>
  • Loading branch information
dependabot[bot] and jamesmontemagno authored Mar 26, 2024
1 parent 0ee9077 commit 15be262
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.2" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="$(EfVersion)" />
<PackageVersion Include="NSubstitute" Version="5.1.0" />
<PackageVersion Include="NSubstitute.Analyzers.CSharp" Version="1.0.15" />
<PackageVersion Include="NSubstitute.Analyzers.CSharp" Version="1.0.17" />
<PackageVersion Include="Pgvector" Version="0.2.0" />
<PackageVersion Include="Pgvector.EntityFrameworkCore" Version="0.2.0" />
<!-- Version together with runtime -->
Expand Down
2 changes: 2 additions & 0 deletions tests/Ordering.UnitTests/Application/OrdersWebApiTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,10 @@ public async Task Get_order_fails()
{
// Arrange
var fakeOrderId = 123;
#pragma warning disable NS5003
_orderQueriesMock.GetOrderAsync(Arg.Any<int>())
.Throws(new KeyNotFoundException());
#pragma warning restore NS5003

// Act
var orderServices = new OrderServices(_mediatorMock, _orderQueriesMock, _identityServiceMock, _loggerMock);
Expand Down

0 comments on commit 15be262

Please sign in to comment.