fixed scalr detector integration test (#3707)

This commit is contained in:
Kashif Khan
2024-12-02 12:34:14 -06:00
committed by GitHub
parent 3f85b16fd1
commit 1d0bd0ae5f
+8
View File
@@ -45,6 +45,10 @@ func TestScalr_FromChunk(t *testing.T) {
verify: true,
},
want: []detectors.Result{
{
DetectorType: detectorspb.DetectorType_Scalr,
Verified: false,
},
{
DetectorType: detectorspb.DetectorType_Scalr,
Verified: true,
@@ -65,6 +69,10 @@ func TestScalr_FromChunk(t *testing.T) {
DetectorType: detectorspb.DetectorType_Scalr,
Verified: false,
},
{
DetectorType: detectorspb.DetectorType_Scalr,
Verified: false,
},
},
wantErr: false,
},