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 c2cde15189 - Show all commits
+13
View File
@@ -1,5 +1,9 @@
package user
import (
"testing"
)
type UserProfile struct {
Usr *User `json:"user"`
@@ -22,3 +26,12 @@ func InitUserProfile(usr *User) (usrProfile *UserProfile, done bool) {
}
}
}
func TestInitUserProfile(t *testing.T) {
usr := User{}
usr.username = "Bob"
usr.Phone = "+12224572351"
usr.Password = "TheNight!"
profile, done := InitUserProfile(&usr)
t.Assert(done, true, "Error")
}