aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/signup_test.go
diff options
context:
space:
mode:
authorguillep2k <18600385+guillep2k@users.noreply.github.com>2019-11-09 00:40:37 -0300
committerLunny Xiao <xiaolunwen@gmail.com>2019-11-09 11:40:37 +0800
commit6e1912c73ac3b350593efbe4e3ac8f37b052e008 (patch)
tree9d409e3ac579a67dc5103202df8c4dfa2afbbf55 /integrations/signup_test.go
parent9ae4c17cb1fde0eaa1556e545a8871b6a70d2efa (diff)
downloadgitea-6e1912c73ac3b350593efbe4e3ac8f37b052e008.tar.gz
gitea-6e1912c73ac3b350593efbe4e3ac8f37b052e008.zip
Fix password complexity check on registration (#8887)
* Fix registration password complexity * Fix integration to use a complex password ;)
Diffstat (limited to 'integrations/signup_test.go')
-rw-r--r--integrations/signup_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/signup_test.go b/integrations/signup_test.go
index 325c906326..e122efa39c 100644
--- a/integrations/signup_test.go
+++ b/integrations/signup_test.go
@@ -19,8 +19,8 @@ func TestSignup(t *testing.T) {
req := NewRequestWithValues(t, "POST", "/user/sign_up", map[string]string{
"user_name": "exampleUser",
"email": "exampleUser@example.com",
- "password": "examplePassword",
- "retype": "examplePassword",
+ "password": "examplePassword!1",
+ "retype": "examplePassword!1",
})
MakeRequest(t, req, http.StatusFound)