From 45b3a480c744d2552f137636a60e1f305fdaaa73 Mon Sep 17 00:00:00 2001 From: "vforfreedom96@gmail.com" Date: Fri, 24 May 2024 22:21:37 +0800 Subject: [PATCH] feat:add service unit test --- internal/biz/user_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/biz/user_test.go b/internal/biz/user_test.go index 5124946..771fd1e 100644 --- a/internal/biz/user_test.go +++ b/internal/biz/user_test.go @@ -67,7 +67,7 @@ func testPutUser(t *testing.T) { Name: username2, Dept: "dev", Email: fmt.Sprintf("user2-biz%s@example.com", time.Now().Format("20060102150405")), - Phone: time.Now().Format("20060102150405"), + Phone: snk.GenerateIDString(), Role: api.Role_ADMIN, Avatar: "https://www.example.com/avatar.jpg", Owner: "test-user-01",