fix: upgrade tests

This commit is contained in:
Lakhan Samani
2022-05-30 12:47:50 +05:30
parent 7e3bd6a721
commit c61c3024ec
25 changed files with 155 additions and 114 deletions

View File

@@ -39,7 +39,7 @@ func sessionTests(t *testing.T, s TestSetup) {
// set all they keys in cookie one of them should be session cookie
for key := range sessions {
if key != token {
cookie += fmt.Sprintf("%s=%s;", memorystore.Provider.GetStringStoreEnvVariable(constants.EnvKeyCookieName)+"_session", key)
cookie += fmt.Sprintf("%s=%s;", constants.AppCookieName+"_session", key)
}
}
cookie = strings.TrimSuffix(cookie, ";")