File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -66,21 +66,21 @@ func TestCIIBestPractices(t *testing.T) {
6666 name : "InProgressBadge" ,
6767 badgeLevel : clients .InProgress ,
6868 expected : scut.TestReturn {
69- Score : inProgressScore ,
69+ Score : 2 ,
7070 },
7171 },
7272 {
7373 name : "PassingBadge" ,
7474 badgeLevel : clients .Passing ,
7575 expected : scut.TestReturn {
76- Score : passingScore ,
76+ Score : 5 ,
7777 },
7878 },
7979 {
8080 name : "SilverBadge" ,
8181 badgeLevel : clients .Silver ,
8282 expected : scut.TestReturn {
83- Score : silverScore ,
83+ Score : 7 ,
8484 },
8585 },
8686 {
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import (
2121 sce "github.com/ossf/scorecard/v4/errors"
2222)
2323
24+ // Note: exported for unit tests.
2425const (
2526 silverScore = 7
2627 // Note: if this value is changed, please update the action's threshold score
You can’t perform that action at this time.
0 commit comments