Skip to content

Commit 415701e

Browse files
Fixed stripe detector integration tests (#3754)
1 parent fb9f0a5 commit 415701e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/detectors/stripe/stripe_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ func TestStripe_FromChunk(t *testing.T) {
4848
{
4949
DetectorType: detectorspb.DetectorType_Stripe,
5050
Verified: true,
51+
ExtraData: map[string]string{
52+
"rotation_guide": "https://howtorotate.com/docs/tutorials/stripe/",
53+
},
5154
},
5255
},
5356
wantErr: false,
@@ -64,6 +67,9 @@ func TestStripe_FromChunk(t *testing.T) {
6467
{
6568
DetectorType: detectorspb.DetectorType_Stripe,
6669
Verified: false,
70+
ExtraData: map[string]string{
71+
"rotation_guide": "https://howtorotate.com/docs/tutorials/stripe/",
72+
},
6773
},
6874
},
6975
wantErr: false,

0 commit comments

Comments
 (0)