Adapt tests

Adapt docker and package tests

Fix tree test
This commit is contained in:
Ettore Di Giacinto
2019-11-29 19:01:54 +01:00
parent 5d2d92e684
commit e31f8820e2
4 changed files with 33 additions and 18 deletions

View File

@@ -65,7 +65,7 @@ var _ = Describe("Tree", func() {
solution, err := s.Install([]pkg.Package{pack})
Expect(err).ToNot(HaveOccurred())
solution = solution.Order(pack.GetFingerPrint())
solution = solution.Order(generalRecipe.GetDatabase(), pack.GetFingerPrint())
Expect(solution[0].Package.GetName()).To(Equal("a"))
Expect(solution[0].Value).To(BeFalse())