Operators #63
Open
Operators #63
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / Unit Tests Report
succeeded
Aug 23, 2023 in 1s
Unit Tests Report ✅
✅ unit-tests.xml
93 tests were completed in 34s with 93 passed, 0 failed and 0 skipped.
✅ github.com/ditrit/badaas
✅ TestInvokeFunctionsWithProvidedValues
✅ TestAddModulesAreExecuted
✅ TestCreateSuperUser
✅ TestCreateSuperUser_UserExists
✅ TestCreateSuperUser_UserServiceError
✅ TestCreateServer
✅ github.com/ditrit/badaas/configuration
✅ TestInitCommandsInitializerSetsAllKeysWithoutError
✅ TestInitCommandsInitializerReturnsErrorWhenErrorOnKeySet
✅ TestDatabaseConfigurationNewDBConfig
✅ TestDatabaseConfigurationGetPort
✅ TestDatabaseConfigurationGetHost
✅ TestDatabaseConfigurationGetUsername
✅ TestDatabaseConfigurationGetPassword
✅ TestDatabaseConfigurationGetSSLMode
✅ TestDatabaseConfigurationGetDBName
✅ TestDatabaseConfigurationGetRetryTime
✅ TestDatabaseConfigurationGetRetry
✅ TestDatabaseConfigurationLog
✅ TestHTTPServerConfigurationNewHttpServerConfiguration
✅ TestHTTPServerConfigurationGetPort
✅ TestHTTPServerConfigurationGetHost
✅ TestHTTPServerConfigurationGetAddr
✅ TestHTTPServerConfigurationGetMaxTimeout
✅ TestHTTPServerConfigurationLog
✅ TestInitializationConfigurationInitializationConfiguration
✅ TestInitializationConfigurationGetInit
✅ TestInitializationConfigurationLog
✅ TestLoggerConfigurationNewLoggerConfiguration
✅ TestLoggerConfigurationLoggerGetMode
✅ TestLoggerConfigurationLoggerRequestTemplate
✅ TestLoggerConfigurationLog
✅ TestPaginationConfigurationNewPaginationConfiguration
✅ TestPaginationConfigurationGetMaxElemPerPage
✅ TestPaginationConfigurationLog
✅ TestSessionConfigurationNewSessionConfiguration
✅ TestSessionConfigurationGetSessionDuration
✅ TestSessionConfigurationGetPullIntervall
✅ TestSessionConfigurationGetRollIntervall
✅ TestSessionConfigurationLog
✅ github.com/ditrit/badaas/controllers
✅ Test_BasicLoginHandler_MalformedRequest
✅ Test_BasicLoginHandler_UserNotFound
✅ Test_BasicLoginHandler_LoginFailed
✅ Test_BasicLoginHandler_LoginSuccess
✅ github.com/ditrit/badaas/httperrors
✅ TestTojson
✅ TestLog
✅ TestError
✅ TestWrite
✅ TestLogger
✅ TestNewErrorNotFound
✅ TestNewInternalServerError
✅ TestNewUnauthorizedError
✅ github.com/ditrit/badaas/logger
✅ TestInitializeDevelopmentLogger
✅ TestInitializeProductionLogger
✅ TestInitializeProductionLoggerNoConf
✅ github.com/ditrit/badaas/orm
✅ TestCreateDSN
✅ TestParseCorrectUUID
✅ TestParseIncorrectUUID
✅ github.com/ditrit/badaas/persistence/gormdatabase
✅ TestIsDuplicateError
✅ Test_isPostgresError
✅ github.com/ditrit/badaas/persistence/models
✅ TestNewSession
✅ TestExpired
✅ TestCanBeRolled
✅ github.com/ditrit/badaas/router
✅ TestAddInfoRoutes
✅ TestAddLoginRoutes
✅ github.com/ditrit/badaas/router/middlewares
✅ TestMiddlewareLogger
✅ github.com/ditrit/badaas/services/auth/protocols/basicauth
✅ TestSaltAndHashPassword
✅ TestCheckUserPassword
✅ github.com/ditrit/badaas/services/sessionservice
✅ TestLogInUser
✅ TestLogInUserDbError
✅ TestIsValid
✅ TestIsValid_SessionNotFound
✅ TestLogOutUser
✅ TestLogOutUserDbError
✅ TestLogOutUser_SessionNotFound
✅ TestRollSession
✅ TestRollSession_Expired
✅ TestRollSession_falseUUID
✅ TestRollSession_sessionNotFound
✅ Test_pullFromDB
✅ Test_pullFromDB_repoError
✅ Test_removeExpired
✅ Test_removeExpired_RepositoryError
✅ Test_get
✅ TestSessionCtx
✅ TestSessionCtxPanic
✅ github.com/ditrit/badaas/services/userservice
✅ TestNewUserService
✅ TestNewUserServiceDatabaseError
✅ TestNewUserServiceEmailNotValid
✅ TestGetUser
✅ TestGetUserNoUserFound
✅ TestGetUserWrongPassword
✅ github.com/ditrit/badaas/utils
✅ TestIntToSecond
✅ github.com/ditrit/badaas/validators
✅ TestValidEmail
Loading