Skip to content

Commit b73fa5f

Browse files
authored
[Fix] Fixed Okta Detector Integration Test Case input (#4053)
* fixed okta integration test bug * updated unexpected error test case name
1 parent 5a79c79 commit b73fa5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/detectors/okta/okta_integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ func TestOkta_FromChunk(t *testing.T) {
8888
wantVerificationErr: false,
8989
},
9090
{
91-
name: "found, verified but unexpected api surface",
91+
name: "found verifiable secret, verification failed due to unexpected API response",
9292
s: Scanner{client: common.ConstantResponseHttpClient(404, "")},
9393
args: args{
9494
ctx: context.Background(),
95-
data: []byte(fmt.Sprintf("You can find a okta secret %s within oktaDomain %s", secretInactive, domain)),
95+
data: []byte(fmt.Sprintf("You can find a okta secret %s within oktaDomain %s", secret, domain)),
9696
verify: true,
9797
},
9898
want: []detectors.Result{

0 commit comments

Comments
 (0)