Skip to content

Commit

Permalink
update reference example
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac committed Feb 11, 2024
1 parent 4b4421a commit 8b68e17
Show file tree
Hide file tree
Showing 9 changed files with 1,147 additions and 112 deletions.
8 changes: 4 additions & 4 deletions connector/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ func (mc *mockConnector) Query(ctx context.Context, configuration *mockConfigura
return schema.QueryResponse{
{
Aggregates: schema.RowSetAggregates{},
Rows: []schema.Row{
map[string]any{
Rows: []map[string]any{
{
"id": 1,
"title": "Hello world",
"author_id": 1,
Expand Down Expand Up @@ -449,8 +449,8 @@ func TestServerConnector(t *testing.T) {
assertHTTPResponse(t, res, http.StatusOK, schema.QueryResponse{
{
Aggregates: schema.RowSetAggregates{},
Rows: []schema.Row{
map[string]any{
Rows: []map[string]any{
{
"id": 1,
"title": "Hello world",
"author_id": 1,
Expand Down
Loading

0 comments on commit 8b68e17

Please sign in to comment.