graphqlbackend: fix tests what are not printing the actual error
Created by: unknwon
Followup of https://github.com/sourcegraph/sourcegraph/pull/26507#discussion_r735614592.
#{err}
is a static string in Go, it does not infer the value of err
variable.