--- runEncrypt via env var path ---
(t *testing.T)
| 122 | // --- runEncrypt via env var path --- |
| 123 | |
| 124 | func TestRunEncrypt_EnvVar_NoPasswords(t *testing.T) { |
| 125 | defer resetMocks() |
| 126 | setupTempConfig(t, emptyConfigYAML) |
| 127 | |
| 128 | os.Setenv("TRYSSH_MASTER_KEY", "testpassword123") |
| 129 | runEncrypt() |
| 130 | } |
| 131 | |
| 132 | func TestRunEncrypt_EnvVar_WithPasswords(t *testing.T) { |
| 133 | defer resetMocks() |
nothing calls this directly
no test coverage detected