This commit is contained in:
@@ -15,7 +15,7 @@ func (s *IntegrationSuite) TestEdgeCase_CreateTZWithEmptyRequestText() {
|
||||
|
||||
loginReq := &authpb.LoginRequest{
|
||||
Email: "test@example.com",
|
||||
Password: "testpassword",
|
||||
Password: "TestPassword123",
|
||||
Ip: "127.0.0.1",
|
||||
UserAgent: "integration-test",
|
||||
}
|
||||
@@ -52,7 +52,7 @@ func (s *IntegrationSuite) TestEdgeCase_GenerateInviteWithZeroMaxUses() {
|
||||
|
||||
loginReq := &authpb.LoginRequest{
|
||||
Email: "test@example.com",
|
||||
Password: "testpassword",
|
||||
Password: "TestPassword123",
|
||||
Ip: "127.0.0.1",
|
||||
UserAgent: "integration-test",
|
||||
}
|
||||
@@ -90,7 +90,7 @@ func (s *IntegrationSuite) TestEdgeCase_GenerateInviteWithZeroTTL() {
|
||||
|
||||
loginReq := &authpb.LoginRequest{
|
||||
Email: "test@example.com",
|
||||
Password: "testpassword",
|
||||
Password: "TestPassword123",
|
||||
Ip: "127.0.0.1",
|
||||
UserAgent: "integration-test",
|
||||
}
|
||||
@@ -128,7 +128,7 @@ func (s *IntegrationSuite) TestEdgeCase_ApproveTZWithEmptyFinalTZ() {
|
||||
|
||||
loginReq := &authpb.LoginRequest{
|
||||
Email: "test@example.com",
|
||||
Password: "testpassword",
|
||||
Password: "TestPassword123",
|
||||
Ip: "127.0.0.1",
|
||||
UserAgent: "integration-test",
|
||||
}
|
||||
@@ -177,7 +177,7 @@ func (s *IntegrationSuite) TestEdgeCase_DoubleLogout() {
|
||||
|
||||
loginReq := &authpb.LoginRequest{
|
||||
Email: "test@example.com",
|
||||
Password: "testpassword",
|
||||
Password: "TestPassword123",
|
||||
Ip: "127.0.0.1",
|
||||
UserAgent: "integration-test",
|
||||
}
|
||||
@@ -203,7 +203,7 @@ func (s *IntegrationSuite) TestEdgeCase_ValidateAfterLogout() {
|
||||
|
||||
loginReq := &authpb.LoginRequest{
|
||||
Email: "test@example.com",
|
||||
Password: "testpassword",
|
||||
Password: "TestPassword123",
|
||||
Ip: "127.0.0.1",
|
||||
UserAgent: "integration-test",
|
||||
}
|
||||
@@ -234,7 +234,7 @@ func (s *IntegrationSuite) TestEdgeCase_RefreshAfterLogout() {
|
||||
|
||||
loginReq := &authpb.LoginRequest{
|
||||
Email: "test@example.com",
|
||||
Password: "testpassword",
|
||||
Password: "TestPassword123",
|
||||
Ip: "127.0.0.1",
|
||||
UserAgent: "integration-test",
|
||||
}
|
||||
@@ -270,7 +270,7 @@ func (s *IntegrationSuite) TestEdgeCase_LoginWithWrongPassword() {
|
||||
|
||||
loginReq := &authpb.LoginRequest{
|
||||
Email: "test@example.com",
|
||||
Password: "wrongpassword",
|
||||
Password: "WrongPassword123",
|
||||
Ip: "127.0.0.1",
|
||||
UserAgent: "integration-test",
|
||||
}
|
||||
@@ -289,7 +289,7 @@ func (s *IntegrationSuite) TestEdgeCase_ApproveTZTwice() {
|
||||
|
||||
loginReq := &authpb.LoginRequest{
|
||||
Email: "test@example.com",
|
||||
Password: "testpassword",
|
||||
Password: "TestPassword123",
|
||||
Ip: "127.0.0.1",
|
||||
UserAgent: "integration-test",
|
||||
}
|
||||
@@ -340,7 +340,7 @@ func (s *IntegrationSuite) TestEdgeCase_CreateTZWithVeryLongText() {
|
||||
|
||||
loginReq := &authpb.LoginRequest{
|
||||
Email: "test@example.com",
|
||||
Password: "testpassword",
|
||||
Password: "TestPassword123",
|
||||
Ip: "127.0.0.1",
|
||||
UserAgent: "integration-test",
|
||||
}
|
||||
@@ -359,7 +359,7 @@ func (s *IntegrationSuite) TestEdgeCase_CreateTZWithVeryLongText() {
|
||||
s.NoError(err)
|
||||
|
||||
longText := "Нужны поставщики. "
|
||||
for i := 0; i < 500; i++ {
|
||||
for i := 0; i < 300; i++ {
|
||||
longText += "Дополнительные требования к качеству и срокам поставки материалов. "
|
||||
}
|
||||
|
||||
@@ -380,7 +380,7 @@ func (s *IntegrationSuite) TestEdgeCase_ApproveTZWithVeryLongFinalTZ() {
|
||||
|
||||
loginReq := &authpb.LoginRequest{
|
||||
Email: "test@example.com",
|
||||
Password: "testpassword",
|
||||
Password: "TestPassword123",
|
||||
Ip: "127.0.0.1",
|
||||
UserAgent: "integration-test",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user