From 97591d99b5cc8f8f41df4ebbd020c12d1b91e8db Mon Sep 17 00:00:00 2001 From: phoenix Date: Mon, 25 May 2026 22:42:40 -0400 Subject: [PATCH] Updated test --- tx0/user/user_profile_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tx0/user/user_profile_test.go b/tx0/user/user_profile_test.go index 33ad170..aa9ea8e 100644 --- a/tx0/user/user_profile_test.go +++ b/tx0/user/user_profile_test.go @@ -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")