Skip to content

Commit 1019423

Browse files
committed
fix unit test
1 parent fd40864 commit 1019423

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

cmd/hasura-ndc-go/command/new_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func TestGenerateNewProject(t *testing.T) {
1414
Name: "test",
1515
Module: "hasura.dev/connector",
1616
Output: tempDir,
17-
Version: "v1.1.1",
17+
Version: "v2.0.0",
1818
}, true))
1919

2020
UpdateConnectorSchema(UpdateArguments{

cmd/hasura-ndc-go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ require (
66
github.com/alecthomas/kong v1.12.1
77
github.com/fatih/structtag v1.2.0
88
github.com/google/uuid v1.6.0
9+
github.com/hasura/ndc-sdk-go/v2 v2.0.1-0.20250818041822-765973c6022e
910
github.com/huandu/xstrings v1.5.0
1011
github.com/rs/zerolog v1.34.0
1112
golang.org/x/mod v0.27.0
@@ -16,7 +17,6 @@ require (
1617
require (
1718
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
1819
github.com/google/go-cmp v0.7.0 // indirect
19-
github.com/hasura/ndc-sdk-go/v2 v2.0.1-0.20250818041822-765973c6022e // indirect
2020
github.com/mattn/go-colorable v0.1.14 // indirect
2121
github.com/mattn/go-isatty v0.0.20 // indirect
2222
github.com/prometheus/client_model v0.6.2 // indirect

cmd/hasura-ndc-go/go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
1616
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
1717
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
1818
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
19-
github.com/hasura/ndc-sdk-go v1.9.2-0.20250816071929-c09d8a4750cd h1:dzKmtSAMHs6qyS2MGWAgz+8yBGyVk//wIzMIRFhvdXE=
20-
github.com/hasura/ndc-sdk-go v1.9.2-0.20250816071929-c09d8a4750cd/go.mod h1:0UM5BET0wcy3SRhrweAQ7i3zOUMzhLPrNLn+XalkIKE=
2119
github.com/hasura/ndc-sdk-go/v2 v2.0.1-0.20250818041822-765973c6022e h1:pZWI1x6kTeIboWrVh5i4FU312KqPI2t7N1Q4BNRwNpo=
2220
github.com/hasura/ndc-sdk-go/v2 v2.0.1-0.20250818041822-765973c6022e/go.mod h1:V1GRFo8v+wyBKkAui8ZyJhQWid+QzQOddP42g0iJ7N8=
2321
github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=

0 commit comments

Comments
 (0)