Skip to content

Commit 6d434ad

Browse files
committed
Some changes
* Removing unused code from DeleteProductById_EnsuresProductIsDeleted method in ProductRepositoryTests.cs file * Updating packages
1 parent b4551da commit 6d434ad

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

src/Store.Infrastructure/Store.Infrastructure.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.0" />
9+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.1" />
1010
</ItemGroup>
1111

1212
<ItemGroup>

src/Store.WebApi/Store.WebApi.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.0">
9+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.1">
1010
<PrivateAssets>all</PrivateAssets>
1111
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1212
</PackageReference>
13-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.0">
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.1">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>

tests/Store.IntegrationTests/Repositories/ProductRepositoryTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ public void DeleteProductById_EnsuresProductIsDeleted()
155155
using (var context = Fixture.CreateContext(transaction))
156156
{
157157
var repository = new ProductRepository(context, _mapper);
158-
var products = repository.GetProducts();
159158

160159
repository.DeleteProductById(productId);
161160
}

tests/Store.IntegrationTests/Store.IntegrationTests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Bogus" Version="33.1.1" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.0" />
11+
<PackageReference Include="Bogus" Version="34.0.1" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.1" />
1313
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
1414
<PackageReference Include="xunit" Version="2.4.1" />
1515
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">

0 commit comments

Comments
 (0)