fix: pass context.TODO by getting admin context
fix linter warnings Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
This commit is contained in:
parent
0a53b8f6d8
commit
2a3e4d6563
5 changed files with 6 additions and 6 deletions
|
|
@ -60,7 +60,7 @@ type EnterpriseTestSuite struct {
|
|||
}
|
||||
|
||||
func (s *EnterpriseTestSuite) SetupTest() {
|
||||
adminCtx := auth.GetAdminContext(nil)
|
||||
adminCtx := auth.GetAdminContext(context.TODO())
|
||||
|
||||
// create testing sqlite database
|
||||
dbCfg := garmTesting.GetTestSqliteDBConfig(s.T())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue