generated from VLADIMIR/template
add AnswerService
This commit is contained in:
@@ -4,12 +4,12 @@ import (
|
||||
"evening_detective_server/internal/modules/game_model"
|
||||
"testing"
|
||||
|
||||
"evening_detective_server/internal/services/game_service"
|
||||
"evening_detective_server/internal/services/answer_service"
|
||||
)
|
||||
|
||||
func TestMapTeamResults(t *testing.T) {
|
||||
sc := 5
|
||||
results := []game_service.TeamResult{
|
||||
results := []answer_service.TeamResult{
|
||||
{
|
||||
Team: &game_model.Team{
|
||||
ID: 1,
|
||||
@@ -17,7 +17,7 @@ func TestMapTeamResults(t *testing.T) {
|
||||
Status: "play",
|
||||
ActionsCount: 7,
|
||||
},
|
||||
Answers: []game_service.AnswerScore{
|
||||
Answers: []answer_service.AnswerScore{
|
||||
{QuestionCode: "q1", Text: "ответ", Score: &sc},
|
||||
},
|
||||
TotalScore: 5,
|
||||
|
||||
Reference in New Issue
Block a user