tsk-21: Disable registration (#27)
Closes #21 Reviewed-on: phoenix/textsender-auth#27 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
@@ -14,8 +14,9 @@ import (
|
||||
)
|
||||
|
||||
func TestCreateUserWithMock(t *testing.T) {
|
||||
cfg := GetConfig()
|
||||
mockstore := mock.NewMockUserStore()
|
||||
handler := NewUserHandler(mockstore)
|
||||
handler := NewUserHandler(cfg, mockstore)
|
||||
|
||||
testUser := GetTestUser()
|
||||
jsonValue, _ := json.Marshal(testUser)
|
||||
|
||||
Reference in New Issue
Block a user