Forgot to add a test
Cette révision appartient à :
Parent
e2f3507069
révision
2a0c2be105
1 fichiers modifiés avec 8 ajouts et 0 suppressions
|
@ -108,6 +108,14 @@ func walkDirTest(dir string, t *testing.T) {
|
|||
vars.Set("Models", []models.TorrentReportJSON{})
|
||||
return vars
|
||||
},
|
||||
"report.jet.html": func(vars jet.VarMap) jet.VarMap {
|
||||
type form struct {
|
||||
ID int
|
||||
CaptchID string
|
||||
}
|
||||
vars.Set("Form", form{1, ""})
|
||||
return vars
|
||||
},
|
||||
}
|
||||
|
||||
fmt.Printf("\nTesting Folder: %s\n", dir)
|
||||
|
|
Référencer dans un nouveau ticket