Skip to content

Commit

Permalink
Use common test description for Vulnerability Scanning
Browse files Browse the repository at this point in the history
Use "Vulnerability Scanning" in all test cases covering vulnerability scanning,
so that they can be picked up more easility in a focus or skip.

Signed-off-by: Matthias Diester <[email protected]>
  • Loading branch information
HeavyWombat committed Oct 31, 2024
1 parent 868ee59 commit 70aa332
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/image-processing/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ var _ = Describe("Image Processing Resource", Ordered, func() {
})
})

Context("vulnerability scanning", func() {
Context("Vulnerability Scanning", func() {
directory := path.Join("..", "..", "test", "data", "images", "vuln-image-in-oci")

It("should run vulnerability scanning if it is enabled and output vulnerabilities equal to the limit defined", func() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/image/vulnerability_scan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var (
vulnerableImage string
)

var _ = Describe("VulnerabilityScanning", func() {
var _ = Describe("Vulnerability Scanning", func() {

Context("For a single image in registry", func() {
BeforeEach(func() {
Expand Down

0 comments on commit 70aa332

Please sign in to comment.