UserProfile (#1)
Go Release / build-and-release (push) Successful in 5s
Go CI / Test and Lint (push) Successful in 6s

Reviewed-on: phoenix/textsender-models#1
This commit was merged in pull request #1.
This commit is contained in:
2026-05-27 22:59:45 -04:00
parent 5b36e5c42e
commit 3ccc1a9a6d
6 changed files with 85 additions and 9 deletions
+16
View File
@@ -0,0 +1,16 @@
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")
}