Check if package was inserted in systemdb in tests

This commit is contained in:
Ettore Di Giacinto
2019-11-23 18:58:34 +01:00
parent d4bb0e346e
commit 7d99d57ad5

View File

@@ -118,6 +118,8 @@ uri: "`+tmpdir+`"
Expect(helpers.Exists(filepath.Join(fakeroot, "test5"))).To(BeTrue())
Expect(helpers.Exists(filepath.Join(fakeroot, "test6"))).To(BeTrue())
_, err = systemDB.FindPackage(&pkg.DefaultPackage{Name: "b", Category: "test", Version: "1.0"})
Expect(err).ToNot(HaveOccurred())
})
})