Skip to content

Commit

Permalink
🐛 fix CI test (#1527)
Browse files Browse the repository at this point in the history
This changed since the `github` provider changed.

We still want to test that flags are loaded, so I am updating the test
and not removing it.

Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune authored Dec 27, 2024
1 parent 14033d6 commit f64d0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/providers/scan_flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func TestScanFlags(t *testing.T) {
assert.NotNil(t, r.Stderr())

assert.Contains(t, string(r.Stderr()),
"app-private-key is required for GitHub App authentication", // expected! it means we loaded the flags
"could not parse private key", // expected! it means we loaded the flags
)
})
t.Run("github scan WITH all required flags for app auth", func(t *testing.T) {
Expand Down

0 comments on commit f64d0f4

Please sign in to comment.