UserProfile #1

Merged
phoenix merged 30 commits from user_profile into main 2026-05-27 22:59:45 -04:00
Showing only changes of commit 2b5cb3a093 - Show all commits
+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")
}