aboutsummaryrefslogtreecommitdiff
path: root/internal/webui/login_test.go
diff options
context:
space:
mode:
authorJulien Dessaux2021-10-17 19:26:49 +0200
committerJulien Dessaux2021-10-17 19:26:49 +0200
commit9c4f70bdeeb61478f60c0891a7f300beab8460b7 (patch)
tree79ea8523aae99d01138be747eadbde0fb2905b5f /internal/webui/login_test.go
parentUpdated dependencies (diff)
downloadtrains-9c4f70bdeeb61478f60c0891a7f300beab8460b7.tar.gz
trains-9c4f70bdeeb61478f60c0891a7f300beab8460b7.tar.bz2
trains-9c4f70bdeeb61478f60c0891a7f300beab8460b7.zip
Updated test case and added TODOs
Diffstat (limited to '')
-rw-r--r--internal/webui/login_test.go2
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,