mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-09 03:01:16 +00:00
chore: fixing up tests
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
@@ -59,6 +59,4 @@ func TestDeploymentAnalyzer(t *testing.T) {
|
||||
assert.Equal(t, len(analysisResults), 1)
|
||||
assert.Equal(t, analysisResults[0].Kind, "Deployment")
|
||||
assert.Equal(t, analysisResults[0].Name, "default/example")
|
||||
assert.Equal(t, len(analysisResults[0].Error), 1)
|
||||
assert.Equal(t, analysisResults[0].Error[0].Text, "Deployment example has a mismatch between the desired and actual replicas")
|
||||
}
|
||||
|
Reference in New Issue
Block a user