(t *testing.T)
| 133 | } |
| 134 | |
| 135 | func TestGetController_ExecuteGet_Keys_Specific(t *testing.T) { |
| 136 | cfg := newTestMainConfig() |
| 137 | cfg.Main.Keys = []string{"/path/to/key1", "/path/to/key2"} |
| 138 | ctrl := NewGetController(TypeKeys, "/path/to/key1", cfg) |
| 139 | |
| 140 | output := captureOutput(func() { |
| 141 | ctrl.ExecuteGet() |
| 142 | }) |
| 143 | |
| 144 | assert.Contains(t, output, "/path/to/key1") |
| 145 | } |
| 146 | |
| 147 | func TestGetController_ExecuteGet_Caches_All(t *testing.T) { |
| 148 | cfg := newTestMainConfig() |
nothing calls this directly
no test coverage detected