Skip to content

Commit

Permalink
overlord/snapstate: fix calls to createTestComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestl committed Apr 24, 2024
1 parent 6d806a7 commit 63324f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overlord/snapstate/handlers_components_discard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (s *discardCompSnapSuite) TestDoDiscardComponent(c *C) {
const compName = "mycomp"
snapRev := snap.R(1)
compRev := snap.R(7)
ci, compPath := createTestComponent(c, snapName, compName, nil)
ci, compPath := createTestComponent(c, snapName, compName)
si := createTestSnapInfoForComponent(c, snapName, snapRev, compName)
ssu := createTestSnapSetup(si, snapstate.Flags{})
s.AddCleanup(snapstate.MockReadComponentInfo(func(
Expand Down Expand Up @@ -96,7 +96,7 @@ func (s *discardCompSnapSuite) TestDoDiscardComponentNoUnlinkedComp(c *C) {
const compName = "mycomp"
snapRev := snap.R(1)
compRev := snap.R(7)
ci, compPath := createTestComponent(c, snapName, compName, nil)
ci, compPath := createTestComponent(c, snapName, compName)
si := createTestSnapInfoForComponent(c, snapName, snapRev, compName)
ssu := createTestSnapSetup(si, snapstate.Flags{})
s.AddCleanup(snapstate.MockReadComponentInfo(func(
Expand Down

0 comments on commit 63324f0

Please sign in to comment.