WeaponSkill

This commit is contained in:
2025-07-27 23:36:47 +02:00
parent 089c95ba30
commit c5484432dc
11 changed files with 90 additions and 89 deletions
+5 -5
View File
@@ -71,11 +71,11 @@ func TestGetMasterData(t *testing.T) {
// Assert the response body
type dtaStruct struct {
Skills []models.Skill `json:"skills"`
Weaponskills []gsmaster.WeaponSkill `json:"weaponskills"`
Spell []gsmaster.Spell `json:"spells"`
Equipment []gsmaster.Equipment `json:"equipment"`
Weapons []gsmaster.Weapon `json:"weapons"`
Skills []models.Skill `json:"skills"`
Weaponskills []models.WeaponSkill `json:"weaponskills"`
Spell []gsmaster.Spell `json:"spells"`
Equipment []gsmaster.Equipment `json:"equipment"`
Weapons []gsmaster.Weapon `json:"weapons"`
}
var dta dtaStruct
err := json.Unmarshal(respRecorder.Body.Bytes(), &dta)