Skip to content

Commit

Permalink
fix:微調
Browse files Browse the repository at this point in the history
  • Loading branch information
takeiteasy23 committed Aug 12, 2023
1 parent 02602dc commit 6990ec7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Domain/Events/PlayerMortgageEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ namespace Domain.Events;
public record PlayerMortgageEvent(string GameId, string PlayerId, decimal PlayerMoney, string BlockId, int DeadLine)
: DomainEvent(GameId);

public record PlayerCannotMortgageEvent(string GameId, string PlayerId, decimal PlayerMoney, string BlockId)
public record PlayerCannotMortgageEvent(string GameId, string PlayerId, decimal PlayerMoney, string BlockId)
: DomainEvent(GameId);
4 changes: 2 additions & 2 deletions Test/ServerTests/AcceptanceTests/RedeemTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public async Task 玩家贖回房地產()
await hub.SendAsync(nameof(MonopolyHub.PlayerRedeem), gameId, "A", "A1");

// Assert
// A 抵押房地產
// A 贖回房地產
hub.Verify<string, decimal, string>(
nameof(IMonopolyResponses.PlayerRedeemEvent),
(playerId, playerMoney, blockId)
Expand Down Expand Up @@ -93,7 +93,7 @@ public async Task 玩家餘額不足以贖回房地產()
await hub.SendAsync(nameof(MonopolyHub.PlayerRedeem), gameId, "A", "A1");

// Assert
// A 抵押房地產
// A 贖回房地產
hub.Verify<string, decimal, string, decimal>(
nameof(IMonopolyResponses.PlayerTooPoorToRedeemEvent),
(playerId, playerMoney, blockId, redeemPrice)
Expand Down

0 comments on commit 6990ec7

Please sign in to comment.