Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/JsonMigration.Tests/JsonMigration.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</PropertyGroup>

<ItemGroup>
<Using Include="AwesomeAssertions"/>
<Using Include="Xunit" />
</ItemGroup>

Expand All @@ -21,7 +22,7 @@
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.8" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.8" />
<PackageReference Include="AwesomeAssertions" Version="8.1.0" />
<PackageReference Include="AwesomeAssertions" Version="9.1.0" />
<PackageReference Include="coverlet.collector" Version="6.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand All @@ -37,4 +38,5 @@
<ProjectReference Include="..\JsonMigration\JsonMigration.csproj" />
</ItemGroup>

</Project>

</Project>
1 change: 0 additions & 1 deletion src/JsonMigration.Tests/JsonObjectExtensionsTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Text.Json.Nodes;
using FluentAssertions;

namespace JsonMigration.Tests;

Expand Down
3 changes: 1 addition & 2 deletions src/JsonMigration.Tests/MigrationV1Tests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Text.Json;
using System.Text.Json.Nodes;
using FluentAssertions;
using Snapshooter.Xunit;

namespace JsonMigration.Tests;
Expand All @@ -16,6 +15,6 @@ public void Migrate_ShouldMigrateCorrect()
var migrated = migration.Migrate(rawJson);
var result = migrated.Deserialize<TestJsonObject>();

result.Should().MatchSnapshot();
result.MatchSnapshot();
}
}
3 changes: 1 addition & 2 deletions src/JsonMigration.Tests/ServiceConfigurationTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Snapshooter.Xunit;

Expand All @@ -24,6 +23,6 @@ public void MigrateOnLoad()
var jsonDoc = _provider.GetRequiredService<TestJsonDocument>();
var content = jsonDoc.GetContent();

content.Should().MatchSnapshot();
content.MatchSnapshot();
}
}