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 97591d99b5 - Show all commits
+2 -2
View File
@@ -9,9 +9,9 @@ import (
func TestInitUserProfile(t *testing.T) {
usr := User{Username: "Bob", PhoneNumber: "+12224572351", Password: "TheNight!"}
profile, done := InitUserProfile(&usr)
profile, err := InitUserProfile(&usr)
assert.Equal(t, done, true, "Error")
assert.NoError(t, err, "Error %v", err)
assert.NotEmpty(t, profile, "UserProfile is empty")
assert.Empty(t, profile.Usr.Password, "Password should be empty")