Skip to content

Commit

Permalink
Избавился от ворнингов в тестах.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Grigorichev committed Sep 7, 2023
1 parent 38e2cef commit d59e479
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace Byndyusoft.ModelResult.ModelResult.Dtos
{
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using AutoFixture;
using Byndyusoft.ModelResult.Dtos;
Expand All @@ -15,7 +14,7 @@ public void SetUp()
_fixture = new Fixture();
}

[NotNull] private Fixture? _fixture;
private Fixture _fixture = default!;

[Test]
public void TestConstructorWithoutItems()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace Byndyusoft.ModelResult.ModelResult.ModelResults
{
using System.Diagnostics.CodeAnalysis;
using AutoFixture;
using Byndyusoft.ModelResult.ModelResults;
using NUnit.Framework;
Expand All @@ -14,7 +13,7 @@ public void SetUp()
_fixture = new Fixture();
}

[NotNull] private Fixture? _fixture;
private Fixture _fixture = default!;

[Test]
public void TestIsOk()
Expand Down

0 comments on commit d59e479

Please sign in to comment.