Skip to content

Commit

Permalink
Remove UseTUFAutoupdater from test mock calls
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany committed Feb 13, 2024
1 parent e7bc56b commit 8939b1f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ee/tuf/autoupdate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,6 @@ func TestDo(t *testing.T) {
mockKnapsack.On("TufServerURL").Return(tufServerUrl)
mockKnapsack.On("UpdateDirectory").Return("")
mockKnapsack.On("MirrorServerURL").Return("https://example.com")
mockKnapsack.On("UseTUFAutoupdater").Return(true)
mockKnapsack.On("LocalDevelopmentPath").Return("").Maybe()
mockQuerier := newMockQuerier(t)
mockKnapsack.On("Slogger").Return(multislogger.New().Logger)
Expand Down Expand Up @@ -585,7 +584,6 @@ func TestDo_HandlesSimultaneousUpdates(t *testing.T) {
mockKnapsack.On("UpdateDirectory").Return("")
mockKnapsack.On("MirrorServerURL").Return("https://example.com")
mockKnapsack.On("LocalDevelopmentPath").Return("")
mockKnapsack.On("UseTUFAutoupdater").Return(true)
mockQuerier := newMockQuerier(t)
mockKnapsack.On("Slogger").Return(multislogger.New().Logger)

Expand Down

0 comments on commit 8939b1f

Please sign in to comment.