Skip to content

Commit

Permalink
Merge pull request neuvector#1596 from williamlin-suse/main
Browse files Browse the repository at this point in the history
Change implicit mockup test data to explicit mockup test data
  • Loading branch information
williamlin-suse authored Oct 9, 2024
2 parents e4410e2 + d75d446 commit c3bac6b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions controller/rest/ibmsa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ func TestIBMSAIntegration(t *testing.T) {
}

cfg := share.CLUSIBMSAConfig{
AccountID: "291266ca760e037c079edd4523242386",
APIKey: "So66TbCeGr8wvmKguYU_zxzZe2apWjyjHDzHfAN1uuSB",
ProviderID: "ServiceId-1bbc04a0-2185-4e81-9509-e600ba454003",
AccountID: "FAKE_AccountID_VALUE",
APIKey: "FAKE_APIKey_VALUE",
ProviderID: "FAKE_ServiceId_VALUE", // "ServiceId-...............",
FindingsURL: _testingFindingURL,
TokenURL: "https://10.1.1.1/identity/token",
}
Expand Down Expand Up @@ -357,7 +357,7 @@ func TestIBMSAIntegration(t *testing.T) {
testData := ibmsaOccurrences{
NoteName: "29104aa4ec94471284be7d33bf1b1391/providers/security-advisor/notes/onboarding-bp",
Kind: "FINDING",
ID: "ServiceId-1bbc04a0-2185-4e81-9509-e600ba454003",
ID: "FAKE_ServiceId_VALUE", // "ServiceId-..........",
Context: ibmsaContext{},
ProviderID: "security-advisor",
Finding: &ibmsaFinding{Severity: "LOW"},
Expand Down

0 comments on commit c3bac6b

Please sign in to comment.