Tutorial #71
Open
Tutorial #71
GitHub Actions / Unit Tests Report
succeeded
Aug 29, 2023 in 0s
Unit Tests Report ✅
✅ unit-tests.xml
110 tests were completed in 35s with 110 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
✅ TestSessionConfigurationGetPullInterval
✅ TestSessionConfigurationGetRollInterval
✅ 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
✅ TestCreatePostgreDSN
✅ TestCreateMySQLDSN
✅ TestCreateSQLiteDSN
✅ TestCreateSQLServerDSN
✅ github.com/ditrit/badaas/orm/logger
✅ TestTraceError
✅ TestTraceSlowQuery
✅ TestTraceQueryExec
✅ TestTraceSlowTransaction
✅ TestTraceTransactionExec
✅ github.com/ditrit/badaas/orm/logger/gormzap
✅ TestTraceError
✅ TestTraceSlowQuery
✅ TestTraceQueryExec
✅ TestTraceSlowTransaction
✅ TestTraceTransactionExec
✅ github.com/ditrit/badaas/orm/model
✅ TestParseCorrectUUID
✅ TestParseIncorrectUUID
✅ 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
✅ TestFindFirst/#00
✅ TestFindFirst/#01
✅ TestFindFirst/#02
✅ TestFindFirst/#03
✅ TestFindFirst/#04
✅ TestFindFirst
✅ github.com/ditrit/badaas/utils/validators
✅ TestValidEmail
Loading