Remove deprecated tests

Signed-off-by: twinguy <twinguy17@gmail.com>
This commit is contained in:
twinguy 2025-03-24 16:56:21 -05:00
parent e7c1a322d7
commit 5da3528524
No known key found for this signature in database
GPG Key ID: 70E5665641CA5676
1 changed files with 0 additions and 18 deletions

View File

@ -48,21 +48,3 @@ func TestDetectIncompatibleFlags(t *testing.T) {
assert.NotContains(t, incompatibleFlags, "kubernetes")
})
}
func TestGenerateWarningMessage(t *testing.T) {
t.Run("warning message", func(t *testing.T) {
warning := generateWarningMessage([]string{"app-id", "app-port"})
assert.Contains(t, warning, "app-id, app-port")
assert.Contains(t, warning, "ignored when using --run-file")
})
t.Run("warning message with multiple flags", func(t *testing.T) {
warning := generateWarningMessage([]string{
"app-id", "app-port", "app-protocol", "app-max-concurrency",
"dapr-http-port", "dapr-grpc-port", "resources-path",
})
assert.Contains(t, warning, "app-id")
assert.Contains(t, warning, "dapr-http-port")
assert.Contains(t, warning, "ignored when using --run-file")
})
}