@@ -23,7 +23,7 @@ class ResultTest extends BaseTest {
23
23
24
24
@ Test
25
25
void testResultsHTML () throws Exception {
26
- List <Scan > scanList = wrapper .scanList ();
26
+ List <Scan > scanList = wrapper .scanList ("statuses=Completed" );
27
27
Assertions .assertTrue (scanList .size () > 0 );
28
28
String scanId = scanList .get (0 ).getId ();
29
29
String results = wrapper .results (UUID .fromString (scanId ), ReportFormat .summaryHTML );
@@ -32,7 +32,7 @@ void testResultsHTML() throws Exception {
32
32
33
33
@ Test
34
34
void testResultsJSON () throws Exception {
35
- List <Scan > scanList = wrapper .scanList ();
35
+ List <Scan > scanList = wrapper .scanList ("statuses=Completed" );
36
36
Assertions .assertTrue (scanList .size () > 0 );
37
37
String scanId = scanList .get (0 ).getId ();
38
38
String results = wrapper .results (UUID .fromString (scanId ), ReportFormat .json );
@@ -41,7 +41,7 @@ void testResultsJSON() throws Exception {
41
41
42
42
@ Test
43
43
void testResultsSummaryJSON () throws Exception {
44
- List <Scan > scanList = wrapper .scanList ();
44
+ List <Scan > scanList = wrapper .scanList ("statuses=Completed" );
45
45
Assertions .assertTrue (scanList .size () > 0 );
46
46
String scanId = scanList .get (0 ).getId ();
47
47
ResultsSummary results = wrapper .resultsSummary (UUID .fromString (scanId ));
@@ -50,7 +50,7 @@ void testResultsSummaryJSON() throws Exception {
50
50
51
51
@ Test ()
52
52
void testResultsStructure () throws Exception {
53
- List <Scan > scanList = wrapper .scanList ();
53
+ List <Scan > scanList = wrapper .scanList ("statuses=Completed" );
54
54
Assertions .assertTrue (scanList .size () > 0 );
55
55
String scanId = scanList .get (0 ).getId ();
56
56
Results results = wrapper .results (UUID .fromString (scanId ));
0 commit comments