(t *testing.T)
| 744 | } |
| 745 | |
| 746 | func TestGetSchema_InvalidIncludeValue(t *testing.T) { |
| 747 | s := newTestServerWithMock(t, http.NotFoundHandler()) |
| 748 | |
| 749 | _, _, err := s.handleGetSchema(context.Background(), nil, SchemaInput{ |
| 750 | Database: "employee_db", |
| 751 | Include: "everything", |
| 752 | }) |
| 753 | require.Error(t, err) |
| 754 | require.Contains(t, err.Error(), "summary|columns|details") |
| 755 | } |
| 756 | |
| 757 | func TestGetSchema_MissingDatabase(t *testing.T) { |
| 758 | s := newTestServerWithMock(t, http.NotFoundHandler()) |
nothing calls this directly
no test coverage detected