Skip to content

Commit

Permalink
fix tests after cherry-pick of fb3365f
Browse files Browse the repository at this point in the history
  • Loading branch information
hmlanigan committed Oct 22, 2021
1 parent 0166b73 commit d492493
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charmhub/refresh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ func (s *RefreshConfigSuite) TestInstallOneBuildRevisionResources(c *gc.C) {
config, ok := AddResource(config, "testme", 3)
c.Assert(ok, jc.IsTrue)

req, _, err := config.Build()
req, err := config.Build()
c.Assert(err, jc.ErrorIsNil)
c.Assert(req, gc.DeepEquals, transport.RefreshRequest{
Context: []transport.RefreshRequestContext{},
Expand All @@ -543,7 +543,7 @@ func (s *RefreshConfigSuite) TestInstallOneBuildRevisionResources(c *gc.C) {
}

func (s *RefreshConfigSuite) TestAddResourceFail(c *gc.C) {
config, err := RefreshOne("testingID", 7, "latest/edge", RefreshBase{
config, err := RefreshOne("instance-key", "testingID", 7, "latest/edge", RefreshBase{
Name: "ubuntu",
Channel: "20.04",
Architecture: arch.DefaultArchitecture,
Expand Down

0 comments on commit d492493

Please sign in to comment.