Compare commits

..
Author SHA1 Message Date
phoenix 8cfccc2722 Test fix
Go CI / Test and Lint (push) Successful in 6s
Go CI / Test and Lint (pull_request) Successful in 17s
Go Release / build-and-release (pull_request) Successful in 6s
2026-05-25 22:31:18 -04:00
phoenix 801a314421 Test fix
Go CI / Test and Lint (push) Failing after 16s
Go Release / build-and-release (pull_request) Successful in 6s
Go CI / Test and Lint (pull_request) Failing after 6s
2026-05-25 22:30:21 -04:00
phoenix 9565259dc1 Test fix
Go CI / Test and Lint (push) Failing after 6s
Go Release / build-and-release (pull_request) Successful in 5s
Go CI / Test and Lint (pull_request) Failing after 7s
2026-05-25 22:26:38 -04:00
2 changed files with 2 additions and 4 deletions
+1
View File
@@ -9,6 +9,7 @@ func InitUserProfile(usr *User) (usrProfile *UserProfile, done bool) {
if usr == nil {
return nil, false
} else {
usrProfile = new(UserProfile)
if len(usr.Password) > 0 {
var newUsr User
newUsr = *usr
+1 -4
View File
@@ -7,10 +7,7 @@ import (
)
func TestInitUserProfile(t *testing.T) {
usr := User{}
usr.Username = "Bob"
usr.PhoneNumber = "+12224572351"
usr.Password = "TheNight!"
usr := User{Username: "Bob", PhoneNumber: "+12224572351", Password: "TheNight!"}
profile, done := InitUserProfile(&usr)