2025-10-27 15:14:18: merge [main:187e1f07a0e8912d7c10f6568ea8ee6489639912];
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
This commit is contained in:
1 parent
3029e084ce
commit
71a841fee0
13 files changed
+147
-115
No files matched your search
@@ -1,14 +1,14 @@
|
||||
package tests_test
|
||||
|
||||
import (
|
||||
"msp-admin-service/entity"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
"github.com/txix-open/isp-kit/db/query"
|
||||
"github.com/txix-open/isp-kit/test/dbt"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
"msp-admin-service/entity"
|
||||
)
|
||||
|
||||
//nolint:gomnd
|
||||
func InsertUser(db *dbt.TestDb, user entity.User) int64 {
|
||||
if user.Password != "" {
|
||||
passwordBytes, _ := bcrypt.GenerateFromPassword([]byte(user.Password), 12)
|
||||
|
||||
Reference in new issue
Block a user