chore: fixing up tests

Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
Alex Jones
2023-04-13 21:44:33 +01:00
parent 23071fd2e6
commit 498d454c17
6 changed files with 71 additions and 63 deletions

View File

@@ -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")
}