added user_password tests

This commit is contained in:
Alex
2025-03-05 14:54:19 +01:00
parent b2b702c21d
commit 7af66ee9de
5 changed files with 239 additions and 7 deletions

View File

@@ -109,6 +109,7 @@ func testUserController(t *testing.T) {
assert.NotEmpty(t, adminCookie)
testUpdateUser(t, loginCookie, adminCookie)
testLogoutHandler(t, logoutCookie)
testCreatePasswordHandler(t, loginCookie, adminCookie)
}
func testLogoutHandler(t *testing.T, loginCookie http.Cookie) {