clean -up tests

This commit is contained in:
Carlosokumu 2024-09-18 15:51:44 +03:00
parent c735bf688d
commit 2cd0b4434f
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -1115,7 +1115,6 @@ func TestCheckAccountStatus(t *testing.T) {
typ := utils.DATA_TRACKING_ID typ := utils.DATA_TRACKING_ID
for _, tt := range tests { for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) { t.Run(tt.name, func(t *testing.T) {
//nn := tt.status
mockCreateAccountService.On("CheckAccountStatus", string(tt.input)).Return(tt.status, nil) mockCreateAccountService.On("CheckAccountStatus", string(tt.input)).Return(tt.status, nil)
mockDataStore.On("WriteEntry", ctx, sessionId, utils.DATA_ACCOUNT_STATUS, []byte(tt.status)).Return(nil).Maybe() mockDataStore.On("WriteEntry", ctx, sessionId, utils.DATA_ACCOUNT_STATUS, []byte(tt.status)).Return(nil).Maybe()