feat: game engine fetch battle api
ui-test / test (push) Failing after 47s

This commit is contained in:
Ilia Denisov
2026-05-13 10:50:45 +02:00
parent ce8e869731
commit a9adbad7ef
7 changed files with 174 additions and 35 deletions
@@ -68,6 +68,10 @@ func (e *dummyExecutor) FetchOrder(actor string, turn uint) (*order.UserGamesOrd
return e.FetchOrderResult, e.FetchOrderOK, e.FetchOrderErr
}
func (e *dummyExecutor) FetchBattle(turn uint, ID uuid.UUID) (*report.BattleReport, bool, error) {
return nil, false, nil
}
func (e *dummyExecutor) Execute(command ...handler.Command) error {
e.CommandsExecuted = len(command)
return nil