Files
schedtxt_models/tx0/user/user_profile_test.go
T
phoenix f05a513926
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 6s
Created test file
2026-05-25 22:24:06 -04:00

20 lines
351 B
Go

package user
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestInitUserProfile(t *testing.T) {
usr := User{}
usr.Username = "Bob"
usr.PhoneNumber = "+12224572351"
usr.Password = "TheNight!"
profile, done := InitUserProfile(&usr)
assert.Equal(t, done, true, "Error")
assert.NotEmpty(t, profile, "UserProfile is empty")
}