removed more strings

This commit is contained in:
2026-02-01 17:00:40 +01:00
parent 66bbfd901a
commit c8aa805bcf
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -3113,7 +3113,7 @@ func GetRaces(c *gin.Context) {
// GetCharacterClasses gibt verfügbare Klassen zurück
func GetCharacterClasses(c *gin.Context) {
// Get game system from query parameter, default to "midgard"
// Get game system from query parameter, default to GameSystemId: 1
gameSystem := c.DefaultQuery("game_system", "midgard")
// Load character classes from database
@@ -3154,7 +3154,7 @@ func SearchBeliefs(c *gin.Context) {
return
}
// Get game system from query parameter, default to "midgard"
// Get game system from query parameter, default to GameSystemId: 1
gameSystem := c.DefaultQuery("game_system", "midgard")
// Load beliefs from database
+1 -1
View File
@@ -1139,7 +1139,7 @@ func TestSearchBeliefs(t *testing.T) {
// Ensure game system rows exist (use INSERT OR IGNORE to avoid unique constraint errors)
database.DB.Exec("INSERT OR IGNORE INTO game_systems(code,name,description,is_active,created_at,modified_at) VALUES (?,?,?,?,strftime('%s','now'),strftime('%s','now'))", "M5", "M5", "", true)
// Create some test believes for midgard
// Create some test believes for GameSystemId: 1
b1 := &models.Believe{GameSystemId: 1, Name: "TestFaithOne", SourceID: 1}
b2 := &models.Believe{GameSystemId: 1, Name: "OtherFaith", SourceID: 1}
err = b1.Create()