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

@@ -132,10 +132,10 @@ func (s *IntegrationSuite) SetupSuite() {
s.supplierClient = supplierpb.NewSupplierServiceClient(conn)
s.testUserEmail = fmt.Sprintf("test_%d@example.com", time.Now().Unix())
s.testUserPassword = "testpassword123"
s.testUserPassword = "TestPassword123"
s.T().Log("Creating test user...")
s.createTestUser("test@example.com", "testpassword")
s.createTestUser("test@example.com", "TestPassword123")
s.T().Log("Integration suite setup completed")
}
@@ -237,7 +237,7 @@ func (s *IntegrationSuite) TearDownTest() {
func (s *IntegrationSuite) createSecondTestUser() (email string, password string, userID int64) {
email = "second_user@example.com"
password = "secondpassword"
password = "SecondPassword123"
cryptoHelper := crypto.NewCrypto(testCryptoSecret)
@@ -327,7 +327,7 @@ func (s *IntegrationSuite) getTokenUsageCount(requestID string) int {
func (s *IntegrationSuite) createUniqueTestUser(suffix string, balance float64) (email string, password string, userID int) {
email = fmt.Sprintf("user_%s_%d@example.com", suffix, time.Now().UnixNano())
password = "testpassword"
password = "TestPassword123"
cryptoHelper := crypto.NewCrypto(testCryptoSecret)