File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
typegate/tests/e2e/self_deploy Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,14 @@ import { tg } from "./self_deploy.mjs"; // FIXME: deno coverage issues with tran
7
7
import { testDir } from "test-utils/dir.ts" ;
8
8
import { join } from "std/path/join.ts" ;
9
9
import { assertEquals , assertExists } from "std/assert/mod.ts" ;
10
- import { get_version } from "native" ;
11
10
12
- const version = await get_version ( ) ;
13
11
const port = 7898 ;
14
12
const auth = new BasicAuth ( "admin" , "password" ) ;
15
13
const gate = `http://localhost:${ port } ` ;
16
14
const cwdDir = join ( testDir , "e2e" , "self_deploy" ) ;
17
15
18
16
Meta . test ( "deploy and undeploy typegraph without meta-cli" , async ( _ ) => {
19
17
const { serialized, typegate : gateResponseAdd } = await tgDeploy ( tg , {
20
- cliVersion : version ,
21
18
baseUrl : gate ,
22
19
auth,
23
20
secrets : { } ,
Original file line number Diff line number Diff line change @@ -208,8 +208,8 @@ impl crate::wit::utils::Guest for crate::Lib {
208
208
209
209
fn gql_deploy_query ( params : QueryDeployParams ) -> Result < String > {
210
210
let query = r"
211
- mutation InsertTypegraph($tg: String!, $secrets: String!, $cliVersion : String!) {
212
- addTypegraph(fromString: $tg, secrets: $secrets, cliVersion : $cliVersion ) {
211
+ mutation InsertTypegraph($tg: String!, $secrets: String!, $targetVersion : String!) {
212
+ addTypegraph(fromString: $tg, secrets: $secrets, targetVersion : $targetVersion ) {
213
213
name
214
214
messages { type text }
215
215
migrations { runtime migrations }
You can’t perform that action at this time.
0 commit comments