Fix testdata
This commit is contained in:
parent
359cca07ed
commit
be38ba9f57
3 changed files with 3 additions and 5 deletions
|
@ -2,7 +2,6 @@ package orm
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"net/http"
|
||||
"strconv"
|
||||
|
@ -59,7 +58,6 @@ func (ids *ContestIDs) UnmarshalCSV(csv string) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
log.Println(id)
|
||||
*ids = append(*ids, uint(id))
|
||||
}
|
||||
return nil
|
||||
|
|
2
scripts/import/testdata/participants.csv
vendored
2
scripts/import/testdata/participants.csv
vendored
|
@ -1,4 +1,4 @@
|
|||
Firstname,Lastname,FiscalCode,Password,CategotyID,SchoolID,ContestIDs
|
||||
Firstname,Lastname,FiscalCode,Password,CategoryID,SchoolID,ContestIDs
|
||||
Barbabas,Ludy,BARLUDE2E,e2EwvTtTw3o,1,1,1
|
||||
Vasilis,Clelle,VASCLE52J,52J0T4O,2,2,2
|
||||
Edie,Dawdry,EDIDAWHTB,htb49Tf,1,3,1
|
||||
|
|
|
|
@ -15,9 +15,9 @@
|
|||
<h2 class="karmen-relation-header">Informazioni generali</h2>
|
||||
<dl class="row">
|
||||
<dt class="col-sm-3">Username</dt>
|
||||
<dd class="col-sm-9"><code>{{.Data.User.Username}}</code></dd>
|
||||
<dd class="col-sm-9"><span class="text-monospace">{{.Data.User.Username}}</span></dd>
|
||||
<dt class="col-sm-3">Password</dt>
|
||||
<dd class="col-sm-9"><code>{{.Data.User.Password}}</code></dd>
|
||||
<dd class="col-sm-9"><span class="text-monospace">{{.Data.User.Password}}</span></dd>
|
||||
<dt class="col-sm-3">Categoria</dt>
|
||||
<dd class="col-sm-9">{{.Data.Category}}</dd>
|
||||
|
||||
|
|
Loading…
Reference in a new issue