(t *testing.T)
| 62 | } |
| 63 | |
| 64 | func TestCtxExtract(t *testing.T) { |
| 65 | t.Parallel() |
| 66 | |
| 67 | ctx := context.Background() |
| 68 | |
| 69 | logger, config, user := CtxExtract(ctx) |
| 70 | config.fs = nil |
| 71 | |
| 72 | assert.Equal(t, &log.Logger, logger) |
| 73 | assert.Equal(t, NewConfig(nil), config) |
| 74 | assert.Equal(t, AnonymousUser, user) |
| 75 | } |
| 76 | |
| 77 | func TestCtxSetConfig(t *testing.T) { |
| 78 | t.Skip("not implemented") |
nothing calls this directly
no test coverage detected