add service
Some checks failed
Deploy Smart Search Backend / deploy (push) Failing after 13m51s

This commit is contained in:
vallyenfail
2026-01-20 22:30:05 +03:00
parent 8b9554720d
commit 9b4b8bd012
16 changed files with 103 additions and 100 deletions

View File

@@ -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",
}