api: use COMMENTO_ prefix on errors
Closes https://gitlab.com/commento/commento-ce/issues/44
This commit is contained in:
@@ -34,7 +34,7 @@ func TestGoogleOauthConfigureEmpty(t *testing.T) {
|
||||
os.Setenv("GOOGLE_KEY", "google-key")
|
||||
|
||||
if err := googleOauthConfigure(); err == nil {
|
||||
t.Errorf("expected error not found when configuring google oauth with empty GOOGLE_SECRET")
|
||||
t.Errorf("expected error not found when configuring google oauth with empty COMMENTO_GOOGLE_SECRET")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user