Test fixes
Go Release / build-and-release (pull_request) Successful in 6s
Go CI / Test and Lint (pull_request) Failing after 6s
Go CI / Test and Lint (push) Failing after 12s

This commit is contained in:
2026-05-25 22:21:14 -04:00
parent c2cde15189
commit 2b5cb3a093
+6 -3
View File
@@ -2,6 +2,8 @@ package user
import (
"testing"
"github.com/stretchr/testify/assert"
)
@@ -29,9 +31,10 @@ func InitUserProfile(usr *User) (usrProfile *UserProfile, done bool) {
func TestInitUserProfile(t *testing.T) {
usr := User{}
usr.username = "Bob"
usr.Phone = "+12224572351"
usr.Username = "Bob"
usr.PhoneNumber = "+12224572351"
usr.Password = "TheNight!"
profile, done := InitUserProfile(&usr)
t.Assert(done, true, "Error")
assert.Equal(t, done, true, "Error")
assert.NotEmpty(t, profile, "UserProfile is empty")
}