Skip to content

Commit

Permalink
bumped coverage
Browse files Browse the repository at this point in the history
Signed-off-by: quobix <[email protected]>
  • Loading branch information
daveshanley committed Jan 27, 2024
1 parent 8825f5e commit a59a4b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions datamodel/low/base/security_requirement_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,10 @@ func TestSecurityRequirement_TestEmptyReq(t *testing.T) {
assert.True(t, sr.ContainsEmptyRequirement)

}

func TestSecurityRequirement_TestEmptyContent(t *testing.T) {
var sr SecurityRequirement
_ = sr.Build(context.Background(), nil, &yaml.Node{}, nil)
assert.True(t, sr.ContainsEmptyRequirement)

}

0 comments on commit a59a4b6

Please sign in to comment.