add some backend unit tests

This commit is contained in:
2021-09-20 19:06:50 +02:00
parent 70413ac887
commit b10fbd6142
4 changed files with 35 additions and 2 deletions

View File

@ -56,5 +56,5 @@ func (r *apicontext) Error(msg string) {
}
func (r *apicontext) Errorf(msg string, args ...interface{}) {
r.Error(fmt.Sprintf(msg, args))
r.Error(fmt.Sprintf(msg, &args))
}