Skip to content

Commit 3f56e9c

Browse files
committed
tests: add new arguments
1 parent a0e2414 commit 3f56e9c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api/mirror_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (s *MirrorSuite) TestCreateMirror(c *C) {
6161
func (s *MirrorSuite) TestGetMirrorsIncludesNumPackages(c *C) {
6262
collection := s.context.NewCollectionFactory().RemoteRepoCollection()
6363

64-
repo, err := deb.NewRemoteRepo("count-mirror", "http://example.com/debian", "stable", []string{"main"}, []string{}, false, false, false)
64+
repo, err := deb.NewRemoteRepo("count-mirror", "http://example.com/debian", "stable", []string{"main"}, []string{}, false, false, false, false)
6565
c.Assert(err, IsNil)
6666

6767
err = collection.Add(repo)
@@ -93,7 +93,7 @@ func (s *MirrorSuite) TestGetMirrorsIncludesNumPackages(c *C) {
9393
func (s *MirrorSuite) TestGetMirrorsReturns500OnCorruptRefList(c *C) {
9494
collection := s.context.NewCollectionFactory().RemoteRepoCollection()
9595

96-
repo, err := deb.NewRemoteRepo("broken-mirror", "http://example.com/debian", "stable", []string{"main"}, []string{}, false, false, false)
96+
repo, err := deb.NewRemoteRepo("broken-mirror", "http://example.com/debian", "stable", []string{"main"}, []string{}, false, false, false, false)
9797
c.Assert(err, IsNil)
9898
c.Assert(collection.Add(repo), IsNil)
9999
putRawDBValue(c, &s.APISuite, repo.RefKey(), []byte("not-msgpack"))

0 commit comments

Comments
 (0)