Skip to content

Commit

Permalink
Remove unnecessary interface cast
Browse files Browse the repository at this point in the history
  • Loading branch information
strideynet committed Mar 7, 2024
1 parent 5fe9c85 commit 6f325a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/tctl/common/edit_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestEditResources(t *testing.T) {
log := utils.NewLoggerForTests()
fc, fds := testhelpers.DefaultConfig(t)
_ = testhelpers.MakeAndRunTestAuthServer(t, log, fc, fds)
rootClient := testhelpers.MakeDefaultAuthClient(t, log, fc).(*auth.Client) // TODO: Once https://github.com/gravitational/teleport/pull/39058 is merged we can remove this cast
rootClient := testhelpers.MakeDefaultAuthClient(t, log, fc)

tests := []struct {
kind string
Expand Down Expand Up @@ -213,7 +213,7 @@ func TestEditEnterpriseResources(t *testing.T) {
log := utils.NewLoggerForTests()
fc, fds := testhelpers.DefaultConfig(t)
_ = testhelpers.MakeAndRunTestAuthServer(t, log, fc, fds)
rootClient := testhelpers.MakeDefaultAuthClient(t, log, fc).(*auth.Client) // TODO: Once https://github.com/gravitational/teleport/pull/39058 is merged we can remove this cast
rootClient := testhelpers.MakeDefaultAuthClient(t, log, fc)

tests := []struct {
kind string
Expand Down

0 comments on commit 6f325a2

Please sign in to comment.