Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Sep 20, 2023
1 parent f2734f0 commit d6e999c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion testdata/xray/jas-test/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
PyYAML==5.2
PyYAML==5.2
Werkzeug==1.0.1
4 changes: 2 additions & 2 deletions xray_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ func TestXrayAuditMultiProjects(t *testing.T) {
defer cleanTestsHomeEnv()
output := xrayCli.WithoutCredentials().RunCliCmdWithOutput(t, "audit", "--format="+string(utils.SimpleJson), workingDirsFlag)
verifySimpleJsonScanResults(t, output, 35, 0)
verifySimpleJsonJasResults(t, output, 4, 9, 7, 0, 1)
verifySimpleJsonJasResults(t, output, 3, 9, 7, 3, 1)
}

func TestXrayAuditPipJson(t *testing.T) {
Expand Down Expand Up @@ -750,7 +750,7 @@ func TestXrayOfflineDBSyncV3(t *testing.T) {

func TestXrayAuditJasSimpleJson(t *testing.T) {
output := testXrayAuditJas(t, string(utils.SimpleJson), "jas-test")
verifySimpleJsonJasResults(t, output, 4, 9, 7, 2, 1)
verifySimpleJsonJasResults(t, output, 3, 9, 7, 3, 1)
}

func TestXrayAuditJasNoViolationsSimpleJson(t *testing.T) {
Expand Down

0 comments on commit d6e999c

Please sign in to comment.