@@ -12,6 +12,7 @@ func TestGetSmallSeverityTag(t *testing.T) {
1212 assert .Equal (t , "<img src=\" https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/smallMedium.svg\" alt=\" \" />" , getSmallSeverityTag ("meDium" ))
1313 assert .Equal (t , "<img src=\" https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/smallLow.svg\" alt=\" \" />" , getSmallSeverityTag ("low" ))
1414 assert .Equal (t , "<img src=\" https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/smallUnknown.svg\" alt=\" \" />" , getSmallSeverityTag ("none" ))
15+ assert .Equal (t , "<img src=\" https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/smallNoIssues.svg\" alt=\" \" />" , getSmallSeverityTag ("scanned - no issues" ))
1516}
1617
1718func TestGetSeverityTag (t * testing.T ) {
@@ -20,6 +21,7 @@ func TestGetSeverityTag(t *testing.T) {
2021 assert .Equal (t , "<br>" , getSeverityTag ("meDium" , "Undetermined" ))
2122 assert .Equal (t , "<br>" , getSeverityTag ("low" , "Applicable" ))
2223 assert .Equal (t , "<br>" , getSeverityTag ("none" , "Applicable" ))
24+ assert .Equal (t , "<br>" , getSeverityTag ("scanned - no issues" , "Applicable" ))
2325}
2426
2527func TestGetSeverityTagNotApplicable (t * testing.T ) {
@@ -28,6 +30,7 @@ func TestGetSeverityTagNotApplicable(t *testing.T) {
2830 assert .Equal (t , "<br>" , getSeverityTag ("meDium" , "Not Applicable" ))
2931 assert .Equal (t , "<br>" , getSeverityTag ("low" , "Not Applicable" ))
3032 assert .Equal (t , "<br>" , getSeverityTag ("none" , "Not Applicable" ))
33+ assert .Equal (t , "<br>" , getSeverityTag ("scanned - no issues" , "Not Applicable" ))
3134}
3235
3336func TestGetVulnerabilitiesBanners (t * testing.T ) {
0 commit comments