Files
schedtxt_models/tx0/user/user_profile_test.go
T
phoenix 3ccc1a9a6d
Go Release / build-and-release (push) Successful in 5s
Go CI / Test and Lint (push) Successful in 6s
UserProfile (#1)
Reviewed-on: phoenix/textsender-models#1
2026-05-27 22:59:45 -04:00

17 lines
336 B
Go

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