This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user