Skip to content

fix: 修復失敗的測試案例 [玩家建立連線失敗因為遊戲不存在] #67

fix: 修復失敗的測試案例 [玩家建立連線失敗因為遊戲不存在]

fix: 修復失敗的測試案例 [玩家建立連線失敗因為遊戲不存在] #67

Triggered via push August 13, 2023 12:46
Status Failure
Total duration 1m 10s
Artifacts
Build, Test and Publish Artifact
1m 0s
Build, Test and Publish Artifact
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Build, Test and Publish Artifact
Process completed with exit code 1.
Build, Test and Publish Artifact: SharedLibrary/MonopolyMap.cs#L83
Cannot convert null literal to non-nullable reference type.
Build, Test and Publish Artifact: SharedLibrary/MonopolyMap.cs#L86
Cannot convert null literal to non-nullable reference type.
Build, Test and Publish Artifact: SharedLibrary/MonopolyMap.cs#L19
Possible null reference return.
Build, Test and Publish Artifact: Domain/Player.cs#L15
Non-nullable field 'chess' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Build, Test and Publish Artifact: Domain/Player.cs#L15
Non-nullable field 'auction' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Build, Test and Publish Artifact: Domain/Player.cs#L15
Non-nullable property 'Monopoly' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build, Test and Publish Artifact: Domain/Auction.cs#L26
Dereference of a possibly null reference.
Build, Test and Publish Artifact: Domain/Monopoly.cs#L233
Dereference of a possibly null reference.
Build, Test and Publish Artifact: Application/Usecases/CreateGameUsecase.cs#L16
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Build, Test and Publish Artifact: Client/Pages/Game.razor.cs#L14
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.