diff options
author | Julien Dessaux | 2021-10-17 19:26:49 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-10-17 19:26:49 +0200 |
commit | 9c4f70bdeeb61478f60c0891a7f300beab8460b7 (patch) | |
tree | 79ea8523aae99d01138be747eadbde0fb2905b5f /internal/webui/login_test.go | |
parent | Updated dependencies (diff) | |
download | trains-9c4f70bdeeb61478f60c0891a7f300beab8460b7.tar.gz trains-9c4f70bdeeb61478f60c0891a7f300beab8460b7.tar.bz2 trains-9c4f70bdeeb61478f60c0891a7f300beab8460b7.zip |
Updated test case and added TODOs
Diffstat (limited to 'internal/webui/login_test.go')
-rw-r--r-- | internal/webui/login_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/webui/login_test.go b/internal/webui/login_test.go index 0d661cb..212e434 100644 --- a/internal/webui/login_test.go +++ b/internal/webui/login_test.go @@ -40,7 +40,7 @@ func TestLoginHandler(t *testing.T) { input: httpTestInput{ method: http.MethodGet, path: "/login", - cookie: &http.Cookie{Name: sessionCookieName, Value: "graou"}, + cookie: &http.Cookie{Name: sessionCookieName, Value: "invalid"}, }, expect: httpTestExpect{ code: http.StatusOK, |