(t *testing.T)
| 755 | } |
| 756 | |
| 757 | func TestGetSchema_MissingDatabase(t *testing.T) { |
| 758 | s := newTestServerWithMock(t, http.NotFoundHandler()) |
| 759 | _, _, err := s.handleGetSchema(context.Background(), nil, SchemaInput{}) |
| 760 | require.Error(t, err) |
| 761 | require.Contains(t, err.Error(), "database is required") |
| 762 | } |
| 763 | |
| 764 | func TestGetSchema_StableSortOrder(t *testing.T) { |
| 765 | // Two schemas (out of order), each with a few tables (out of order). |
nothing calls this directly
no test coverage detected