Skip to content

Commit

Permalink
👻 Remove Ruleset seed test (#455)
Browse files Browse the repository at this point in the history
API tests failed on Ruleset empty seed check. Removing Ruleset seed
check for now (until we have tackle2-seed related test requirements).

```
=== RUN   TestRuleSetListSeed
time=2023-07-25T09:37:02+02:00 level=info msg=[binding] |200|  GET /rulesets
    api_test.go:83: Seed looks empty, but it shouldn't.
--- FAIL: TestRuleSetListSeed (0.00s)
```

Related to #450 and
https://github.com/konveyor/tackle2-seed

Signed-off-by: Marek Aufart <maufart@redhat.com>
  • Loading branch information
aufi committed Jul 26, 2023
1 parent 0d7f07a commit eca0072
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/api/ruleset/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,3 @@ func TestRuleSetCRUD(t *testing.T) {
})
}
}

func TestRuleSetListSeed(t *testing.T) {
got, err := RuleSet.List()
if err != nil {
t.Errorf(err.Error())
}
if len(got) < 1 {
t.Errorf("Seed looks empty, but it shouldn't.")
}
}

0 comments on commit eca0072

Please sign in to comment.