Skip to content

Commit

Permalink
Merge additional fixes made in PR from AWS team (https://github.com/c…
Browse files Browse the repository at this point in the history
  • Loading branch information
patjakdev committed Jul 3, 2024
1 parent 34fb546 commit 5da4c20
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions integration_tests/corpus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ var integrationFS embed.FS
type corpusTest struct {
Schema string `json:"schema"`
Policies string `json:"policies"`
ShouldValidate bool `json:"should_validate"`
ShouldValidate bool `json:"shouldValidate"`
Entities string `json:"entities"`
Requests []struct {
Desc string `json:"desc"`
Desc string `json:"description"`
Principal jsonEntity `json:"principal"`
Action jsonEntity `json:"action"`
Resource jsonEntity `json:"resource"`
Expand All @@ -45,13 +45,7 @@ func TestCorpus(t *testing.T) {
t.Fatal("err loading tests", p, err)
}
for _, tn := range more {
if strings.Contains(tn, "schema_") {
continue
}
if strings.Contains(tn, ".cedarschema.json") {
continue
}
if strings.Contains(tn, ".entities.json") {
if strings.Contains(tn, "entities.json") {
continue
}
tests = append(tests, tn)
Expand Down

0 comments on commit 5da4c20

Please sign in to comment.