mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-16 23:32:29 +00:00
chore: fixing up tests
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
@@ -66,10 +66,6 @@ func TestCronJobSuccess(t *testing.T) {
|
||||
}
|
||||
|
||||
assert.Equal(t, len(analysisResults), 0)
|
||||
assert.Equal(t, analysisResults[0].Name, "example-cronjob")
|
||||
assert.Equal(t, analysisResults[0].Kind, "CronJob")
|
||||
assert.Equal(t, analysisResults[0].Error, "CronJob 'example-cronjob' has an annotation 'analysisDate', indicating it may need to be reviewed.")
|
||||
|
||||
}
|
||||
|
||||
func TestCronJobBroken(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user