21 lines
394 B
Go
21 lines
394 B
Go
package handlers_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/fiskerinc/cloud-services/services/depot/handlers"
|
|
|
|
"github.com/fiskerinc/cloud-services/pkg/testhelper"
|
|
)
|
|
|
|
func TestMobileInit(t *testing.T) {
|
|
setupRedisMock()
|
|
setupDBMock()
|
|
|
|
id := "VALID-COGNITO-ID-1"
|
|
err := handlers.MobileInit(mockDB, id)
|
|
if err != nil {
|
|
t.Errorf(testhelper.TestErrorTemplate, "TestMobileInit", nil, err)
|
|
}
|
|
}
|