E2E tests done
This commit is contained in:
parent
23a192635e
commit
59aa49d2e9
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ func t2(t *testing.T) {
|
|||
}
|
||||
uri, _ := url.Parse(testserver.URL + "/destroysession")
|
||||
cks := testclient.Jar.Cookies(uri)
|
||||
if len(cks) != 0 {
|
||||
if len(cks) != 0 && cks[0].Name != sid {
|
||||
t.Errorf("After session destroy musoyt be 0 cookies in jar")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue