Skip to content

Commit

Permalink
fix logging conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarchetti committed Sep 5, 2023
1 parent db34baa commit 3665d24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/accounts/account_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (s *AccountListSuite) TestGetAccountByNameNotFound() {
}

func (s *AccountListSuite) TestGetAccountsByServerType() {
logger := slog.Default()
log := logging.New()

account := Account{Name: "name", ServerType: ServerTypeConnect}
accounts := []Account{account}
Expand All @@ -119,7 +119,7 @@ func (s *AccountListSuite) TestGetAccountsByServerType() {

accountList := defaultAccountList{
providers: providers,
logger: logger,
log: log,
}

res, err := accountList.GetAccountsByServerType(ServerTypeConnect)
Expand All @@ -128,7 +128,7 @@ func (s *AccountListSuite) TestGetAccountsByServerType() {
}

func (s *AccountListSuite) TestGetAccountsByServerType_Empty() {
logger := slog.Default()
log := logging.New()

account := Account{Name: "name", ServerType: ServerTypeConnect}
accounts := []Account{account}
Expand All @@ -139,7 +139,7 @@ func (s *AccountListSuite) TestGetAccountsByServerType_Empty() {

accountList := defaultAccountList{
providers: providers,
logger: logger,
log: log,
}

res, err := accountList.GetAccountsByServerType(ServerTypeCloud)
Expand Down

0 comments on commit 3665d24

Please sign in to comment.