2026-07-07 10:23:56: merge [main:172c90b0e5097baa84d498b93d1bd705834bf9f0];
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s

This commit is contained in:
txix committed 2026-07-07 10:23:56 +03:00
1 parent 53fc40efe4
commit be5ce45d17
8 files changed
+128 -121

No files matched your search

+2
View File
@@ -53,6 +53,7 @@ func (s *SecureSuite) SetupSuite() {
})
}
// nolint: gosec
func (s *SecureSuite) TestAuthenticate_Success() {
InsertToken(s.testDb, entity.Token{
Token: "test_token_success", AppId: 7, ExpireTime: -1, CreatedAt: time.Now().UTC(),
@@ -121,6 +122,7 @@ func (s *SecureSuite) TestAuthenticate_NotExpired() {
}, result)
}
// nolint: gosec
func (s *SecureSuite) TestAuthenticate_Expired() {
InsertToken(s.testDb, entity.Token{
Token: "test_token_expired", AppId: 7, ExpireTime: 0, CreatedAt: time.Now().UTC(),