tests: fix failing tests due to a bad merge

I changed the API of weldr.New in 495f5b55 and Jacob added a new call of
that function in 9970150e, which created conflicting state.
This commit is contained in:
Ondřej Budai 2019-11-14 09:38:01 +01:00
parent 2cb7c8936e
commit af73810a2d

View file

@ -309,7 +309,7 @@ func TestBlueprintsDelete(t *testing.T) {
}
func TestBlueprintsChanges(t *testing.T) {
api := weldr.New(repo, packages, nil, store.New(nil))
api, _ := createWeldrAPI(rpmmd_mock.BaseFixture)
rand.Seed(time.Now().UnixNano())
id := strconv.Itoa(rand.Int())
ignoreFields := []string{"commit", "timestamp"}