This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The most significant changes involve updates to the `SoarCraft.AwaiSh…
…op.Test.csproj` file and modifications to several methods in the `ShopHub` class within the `Post.cs` file. The `SoarCraft.AwaiShop.Test.csproj` file has been updated to use newer versions of several packages, including `Bogus`, `Microsoft.AspNetCore.SignalR.Client`, `Microsoft.AspNetCore.SignalR.Protocols.MessagePack`, `Microsoft.NET.Test.Sdk`, `MSTest.TestAdapter`, and `MSTest.TestFramework`. In the `Post.cs` file, the `OrderPostNew`, `OrderPostAppend`, `OrderPostCancel`, and `OrderPostReceived` methods in the `ShopHub` class have been updated to use the `AddAsync` method for adding new objects to the `Db` context. Additionally, the `OrderPostCancel` method has been updated to change the status of the `Order` object using a ternary operator. List of changes: 1. The `SoarCraft.AwaiShop.Test.csproj` file has been updated to use newer versions of several packages. The `Bogus` package has been updated from version `35.0.1` to `35.4.0`, the `Microsoft.AspNetCore.SignalR.Client` and `Microsoft.AspNetCore.SignalR.Protocols.MessagePack` packages have been updated from version `8.0.0` to `8.0.1`, and the `Microsoft.NET.Test.Sdk`, `MSTest.TestAdapter`, and `MSTest.TestFramework` packages have been updated from version `17.9.0-preview-23577-04` and `3.1.1` to `17.10.0-preview-24080-01` and `3.2.0` respectively (SoarCraft.AwaiShop.Test.csproj). 2. The `OrderPostNew` method in the `ShopHub` class has been updated to use the `AddAsync` method to add new `OrderCombo` and `Comment` objects to the `Db` context, instead of adding them directly to the `Order` object (Post.cs). 3. The `OrderPostAppend`, `OrderPostCancel`, and `OrderPostReceived` methods in the `ShopHub` class have been updated in a similar way to the `OrderPostNew` method, using the `AddAsync` method to add new `Comment` objects to the `Db` context (Post.cs). 4. The `OrderPostCancel` method in the `ShopHub` class has also been updated to change the status of the `Order` object in a different way, using a ternary operator instead of a direct assignment (Post.cs). 5. The version number in the comments for several methods in the `ShopHub` class and the `OrderPostReceived` method has been updated (Post.cs).
- Loading branch information