Skip to content

Commit

Permalink
Bump the nuget group with 6 updates (#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Aug 26, 2024
1 parent 67dc413 commit 5e6abab
Show file tree
Hide file tree
Showing 367 changed files with 2,422 additions and 2,410 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"rollForward": false
},
"csharpier": {
"version": "0.28.2",
"version": "0.29.1",
"commands": [
"dotnet-csharpier"
],
Expand Down
11 changes: 6 additions & 5 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="AutoMapper" Version="13.0.1" />
<PackageVersion Include="Basic.Reference.Assemblies" Version="1.7.4" />
<PackageVersion Include="Basic.Reference.Assemblies" Version="1.7.7" />
<PackageVersion Include="EntityGraphQL" Version="5.4.1" />
<PackageVersion Include="EntityGraphQL.AspNet" Version="5.4.1" />
<PackageVersion Include="FluentRandomPicker" Version="3.5.1" />
Expand All @@ -31,7 +31,8 @@
<PackageVersion Include="Microsoft.Bcl.HashCode" Version="1.1.1" />
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" />
<PackageVersion Include="Microsoft.FeatureManagement" Version="3.5.0" />
<PackageVersion Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.0.1" />
<PackageVersion Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.0.2" />
<PackageVersion Include="MockQueryable.EntityFrameworkCore" Version="7.0.2" />
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.4" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.8" />
<PackageVersion Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="8.0.8" />
Expand All @@ -40,7 +41,7 @@
<PackageVersion Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="8.0.8" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageVersion Include="Microsoft.IdentityModel.Tokens" Version="8.0.1" />
<PackageVersion Include="Microsoft.IdentityModel.Tokens" Version="8.0.2" />
<PackageVersion Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageVersion Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.4" />
<PackageVersion Include="MudBlazor" Version="6.20.0" />
Expand All @@ -59,7 +60,7 @@
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.8" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageVersion Include="MockQueryable.Moq" Version="7.0.1" />
<PackageVersion Include="MockQueryable.Moq" Version="7.0.2" />
<PackageVersion Include="Moq" Version="4.20.70" />
<PackageVersion Include="Verify.SourceGenerators" Version="2.3.0" />
<PackageVersion Include="Verify.XUnit" Version="26.2.0" />
Expand All @@ -80,7 +81,7 @@
<PackageVersion Include="NSubstitute.Analyzers.CSharp" Version="1.0.17" />
<PackageVersion Include="Redis.OM" Version="0.7.4" />
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="8.0.8" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.7.1" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.7.3" />
<PackageVersion Include="Serilog.Extensions.Hosting" Version="8.0.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="MockQueryable.EntityFrameworkCore" />
<PackageReference Include="MockQueryable.Moq" />
<PackageReference Include="Moq" />
<PackageReference Include="xunit" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void FortPlantDetailId_IsCorrect(FortPlants plantId, int level, int expec
{
ViewerId = 1,
PlantId = plantId,
Level = level
Level = level,
};

entity.FortPlantDetailId.Should().Be(expectedDetailId);
Expand All @@ -34,7 +34,7 @@ public void BuildStatus_BothDatesEpoch_IsNeutral()
{
ViewerId = 1,
BuildStartDate = DateTimeOffset.UnixEpoch,
BuildEndDate = DateTimeOffset.UnixEpoch
BuildEndDate = DateTimeOffset.UnixEpoch,
};

entity.BuildStatus.Should().Be(FortBuildStatus.Neutral);
Expand All @@ -56,7 +56,7 @@ FortBuildStatus expected
ViewerId = 1,
Level = level,
BuildStartDate = DateTimeOffset.UtcNow + TimeSpan.FromSeconds(startOffsetSec),
BuildEndDate = DateTimeOffset.UtcNow + TimeSpan.FromSeconds(endOffsetSec)
BuildEndDate = DateTimeOffset.UtcNow + TimeSpan.FromSeconds(endOffsetSec),
};

entity.BuildStatus.Should().Be(expected);
Expand All @@ -73,7 +73,7 @@ public void RemainTime_CalculatedCorrectly(int endOffsetSec, int expectedSec)
new()
{
ViewerId = 1,
BuildEndDate = DateTimeOffset.UtcNow + TimeSpan.FromSeconds(endOffsetSec)
BuildEndDate = DateTimeOffset.UtcNow + TimeSpan.FromSeconds(endOffsetSec),
};

entity.RemainTime.Should().BeCloseTo(TimeSpan.FromSeconds(expectedSec), AssertionTolerance);
Expand All @@ -89,7 +89,7 @@ public void LastIncomeTime_CalculatedCorrectly(int incomeOffsetSec)
new()
{
ViewerId = 1,
LastIncomeDate = DateTimeOffset.UtcNow + TimeSpan.FromSeconds(incomeOffsetSec)
LastIncomeDate = DateTimeOffset.UtcNow + TimeSpan.FromSeconds(incomeOffsetSec),
};

entity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void AbilityOneResolver_ReturnsExpectedLevel(
int expectedLevel
)
{
DbWeaponBody weapon = new() { WeaponBodyId = id, LimitOverCount = limitOverCount, };
DbWeaponBody weapon = new() { WeaponBodyId = id, LimitOverCount = limitOverCount };

weapon.Ability1Level.Should().Be(expectedLevel);
}
Expand All @@ -42,7 +42,7 @@ public void AbilityTwoResolver_ReturnsExpectedLevel(
int expectedLevel
)
{
DbWeaponBody weapon = new() { WeaponBodyId = id, LimitOverCount = limitOverCount, };
DbWeaponBody weapon = new() { WeaponBodyId = id, LimitOverCount = limitOverCount };

weapon.Ability2Level.Should().Be(expectedLevel);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ await this.fixture.AddToDatabase(
{
ViewerId = DbTestFixture.ViewerId,
PlantId = FortPlants.Dragonata,
Level = 10
Level = 10,
}
);

Expand All @@ -57,7 +57,7 @@ await this.fixture.AddToDatabase(
{
ViewerId = DbTestFixture.ViewerId,
PlantId = FortPlants.BroadleafTree,
Level = 3
Level = 3,
}
);

Expand Down Expand Up @@ -124,7 +124,7 @@ public async Task GetBuilding_GetsBuilding()
BuildStartDate = DateTimeOffset.MinValue,
LastIncomeDate = DateTimeOffset.UnixEpoch,
PositionX = 3,
PositionZ = 4
PositionZ = 4,
};

await this.fixture.AddToDatabase(build);
Expand All @@ -147,7 +147,7 @@ public async Task GetBuilding_NotFound_Throws()
BuildStartDate = DateTimeOffset.MinValue,
LastIncomeDate = DateTimeOffset.UnixEpoch,
PositionX = 3,
PositionZ = 4
PositionZ = 4,
};

await this.fixture.AddToDatabase(build);
Expand Down Expand Up @@ -199,36 +199,36 @@ await this.fixture.AddRangeToDatabase(
ViewerId = DbTestFixture.ViewerId,
PlantId = FortPlants.PalmTree,
BuildStartDate = DateTimeOffset.MinValue,
BuildEndDate = DateTimeOffset.MaxValue
BuildEndDate = DateTimeOffset.MaxValue,
},
new()
{
ViewerId = DbTestFixture.ViewerId,
PlantId = FortPlants.Lectern,
BuildStartDate = DateTimeOffset.MinValue,
BuildEndDate = DateTimeOffset.MaxValue
BuildEndDate = DateTimeOffset.MaxValue,
},
new()
{
ViewerId = DbTestFixture.ViewerId,
PlantId = FortPlants.Snowdrake,
BuildStartDate = DateTimeOffset.MinValue,
BuildEndDate = DateTimeOffset.UtcNow - TimeSpan.FromSeconds(22)
BuildEndDate = DateTimeOffset.UtcNow - TimeSpan.FromSeconds(22),
},
new()
{
ViewerId = DbTestFixture.ViewerId,
PlantId = FortPlants.Wishmill,
BuildStartDate = DateTimeOffset.UnixEpoch,
BuildEndDate = DateTimeOffset.UnixEpoch
BuildEndDate = DateTimeOffset.UnixEpoch,
},
new()
{
ViewerId = DbTestFixture.ViewerId + 1,
PlantId = FortPlants.FafnirStatueFlame,
BuildStartDate = DateTimeOffset.UnixEpoch,
BuildEndDate = DateTimeOffset.MaxValue
}
BuildEndDate = DateTimeOffset.MaxValue,
},
}
);

Expand Down Expand Up @@ -281,7 +281,7 @@ public async Task AddDojos_AddsDojos()
FortPlants.LanceDojo,
FortPlants.ManacasterDojo,
FortPlants.StaffDojo,
FortPlants.WandDojo
FortPlants.WandDojo,
};

foreach (FortPlants plant in plants)
Expand Down Expand Up @@ -309,7 +309,7 @@ public async Task AddToStorage_IsTotalQuantity_AddsBuilds()
{
ViewerId = DbTestFixture.ViewerId + 1,
PlantId = FortPlants.FlameDracolith,
}
},
}
);
await this.fixture.ApiContext.SaveChangesAsync();
Expand Down Expand Up @@ -337,7 +337,7 @@ public async Task AddToStorage_IsTotalQuantity_AlreadyOwned_DoesNotAddBuilds()
this.fixture.ApiContext.PlayerFortBuilds.AddRange(
new List<DbFortBuild>()
{
new() { ViewerId = DbTestFixture.ViewerId, PlantId = FortPlants.WindDracolith, }
new() { ViewerId = DbTestFixture.ViewerId, PlantId = FortPlants.WindDracolith },
}
);
await this.fixture.ApiContext.SaveChangesAsync();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ await this.fixture.ApiContext.AddAsync(
{
ViewerId = ViewerId,
MaterialId = Materials.FirestormPrism,
Quantity = 0
Quantity = 0,
}
);

Expand Down Expand Up @@ -98,14 +98,14 @@ await this.fixture.ApiContext.PlayerMaterials.AddRangeAsync(
{
ViewerId = ViewerId + 2,
MaterialId = Materials.AbaddonOrb,
Quantity = 5
Quantity = 5,
},
new()
{
ViewerId = ViewerId,
MaterialId = Materials.AbaddonOrb,
Quantity = 50,
}
},
}
);

Expand All @@ -119,7 +119,7 @@ await this.fixture.ApiContext.PlayerMaterials.AddRangeAsync(
{
ViewerId = ViewerId,
MaterialId = Materials.AbaddonOrb,
Quantity = 50
Quantity = 50,
},
opts => opts.Excluding(x => x.Owner)
);
Expand All @@ -135,7 +135,7 @@ await this.fixture.ApiContext.PlayerMaterials.AddRangeAsync(
{
ViewerId = ViewerId + 4,
MaterialId = Materials.AbaddonOrb,
Quantity = 5
Quantity = 5,
},
new()
{
Expand All @@ -148,7 +148,7 @@ await this.fixture.ApiContext.PlayerMaterials.AddRangeAsync(
ViewerId = ViewerId,
MaterialId = Materials.InfernoOrb,
Quantity = 50,
}
},
}
);

Expand All @@ -161,7 +161,7 @@ await this.fixture.ApiContext.PlayerMaterials.AddRangeAsync(
{
ViewerId = ViewerId,
MaterialId = Materials.TsunamiOrb,
Quantity = 50
Quantity = 50,
},
opts => opts.Excluding(x => x.Owner)
)
Expand All @@ -170,7 +170,7 @@ await this.fixture.ApiContext.PlayerMaterials.AddRangeAsync(
{
ViewerId = ViewerId,
MaterialId = Materials.InfernoOrb,
Quantity = 50
Quantity = 50,
},
opts => opts.Excluding(x => x.Owner)
)
Expand All @@ -187,14 +187,14 @@ await this.fixture.AddRangeToDatabase(
{
ViewerId = IdentityTestUtils.ViewerId,
MaterialId = Materials.Valor,
Quantity = 5
Quantity = 5,
},
new()
{
ViewerId = IdentityTestUtils.ViewerId,
MaterialId = Materials.Acclaim,
Quantity = 5
}
Quantity = 5,
},
}
);

Expand Down Expand Up @@ -227,7 +227,7 @@ await this.fixture.AddRangeToDatabase(
{
ViewerId = IdentityTestUtils.ViewerId,
MaterialId = Materials.SummerEstelleSkin,
Quantity = 5
Quantity = 5,
},
}
);
Expand Down Expand Up @@ -259,7 +259,7 @@ await this.fixture.AddToDatabase(
{
ViewerId = IdentityTestUtils.ViewerId,
Quantity = 5,
MaterialId = Materials.Dragonfruit
MaterialId = Materials.Dragonfruit,
}
);

Expand All @@ -274,7 +274,7 @@ await this.fixture.AddToDatabase(
{
ViewerId = IdentityTestUtils.ViewerId,
Quantity = 5,
MaterialId = Materials.FafnirMedal
MaterialId = Materials.FafnirMedal,
}
);

Expand All @@ -291,14 +291,14 @@ await this.fixture.AddRangeToDatabase(
{
ViewerId = IdentityTestUtils.ViewerId,
MaterialId = Materials.ValentinesGift,
Quantity = 5
Quantity = 5,
},
new()
{
ViewerId = IdentityTestUtils.ViewerId,
MaterialId = Materials.QuantumCog,
Quantity = 5
}
Quantity = 5,
},
}
);

Expand All @@ -307,7 +307,7 @@ await this.inventoryRepository.CheckQuantity(
new Dictionary<Materials, int>()
{
{ Materials.ValentinesGift, 5 },
{ Materials.QuantumCog, 5 }
{ Materials.QuantumCog, 5 },
}
)
)
Expand All @@ -325,8 +325,8 @@ await this.fixture.AddRangeToDatabase(
{
ViewerId = IdentityTestUtils.ViewerId,
MaterialId = Materials.ValeriosConviction,
Quantity = 5
}
Quantity = 5,
},
}
);

Expand All @@ -335,7 +335,7 @@ await this.inventoryRepository.CheckQuantity(
new Dictionary<Materials, int>()
{
{ Materials.ValeriosConviction, 5 },
{ Materials.ValeriosDevotion, 5 }
{ Materials.ValeriosDevotion, 5 },
}
)
)
Expand Down
Loading

0 comments on commit 5e6abab

Please sign in to comment.