(t *testing.T, kinds ...config.PathKind)
| 117 | } |
| 118 | |
| 119 | func defaultLayoutForTest(t *testing.T, kinds ...config.PathKind) config.Layout { |
| 120 | t.Helper() |
| 121 | |
| 122 | layout, err := config.NewSystemResolver("").Resolve(kinds...) |
| 123 | if err != nil { |
| 124 | t.Fatalf("resolve test layout: %v", err) |
| 125 | } |
| 126 | return layout |
| 127 | } |
| 128 | |
| 129 | func defaultCredentialsStoreForTest(t *testing.T) *config.ClientCredentialsStore { |
| 130 | t.Helper() |
no test coverage detected