diff --git a/test/e2e/app-websocket.ts b/test/e2e/app-websocket.ts index 66c9eda4..2caacc69 100644 --- a/test/e2e/app-websocket.ts +++ b/test/e2e/app-websocket.ts @@ -149,7 +149,7 @@ test( await admin.enableApp({ installed_app_id: app_id1 }); let received1 = false; - const signalCb1: AppSignal = () => { + const signalCb1: SignalCb = () => { received1 = true; }; @@ -164,7 +164,7 @@ test( await admin.enableApp({ installed_app_id: app_id2 }); let received2 = false; - const signalCb2: AppSignal = () => { + const signalCb2: SignalCb = () => { received2 = true; }; @@ -261,7 +261,7 @@ test( await admin.authorizeSigningCredentials(cloneCell.cell_id); await appWs.disableCloneCell({ - clone_cell_id: cloneCell.cell_id, + clone_cell_id: cloneCell.cell_id[0], }); const appInfo = await appWs.appInfo(); @@ -284,7 +284,7 @@ test( } await appWs.enableCloneCell({ - clone_cell_id: cloneCell.cell_id, + clone_cell_id: cloneCell.cell_id[0], }); await appWs.callZome(params); t.pass("re-enabled clone can be called"); diff --git a/test/e2e/index.ts b/test/e2e/index.ts index 72952ff6..e92d55db 100644 --- a/test/e2e/index.ts +++ b/test/e2e/index.ts @@ -1194,7 +1194,7 @@ test( await admin.authorizeSigningCredentials(cloneCell.cell_id); await client.disableCloneCell({ - clone_cell_id: cloneCell.cell_id, + clone_cell_id: cloneCell.cell_id[0], }); const appInfo = await client.appInfo(); @@ -1232,7 +1232,7 @@ test( }; const cloneCell = await client.createCloneCell(createCloneCellParams); await client.disableCloneCell({ - clone_cell_id: cloneCell.cell_id, + clone_cell_id: cloneCell.cell_id[0], }); const enabledCloneCell = await client.enableCloneCell({ @@ -1274,17 +1274,17 @@ test( const cloneCell = await client.createCloneCell(createCloneCellParams); createCloneCellParams.modifiers.network_seed = "clone-1"; await client.disableCloneCell({ - clone_cell_id: cloneCell.cell_id, + clone_cell_id: cloneCell.cell_id[0], }); await admin.deleteCloneCell({ app_id: installed_app_id, - clone_cell_id: cloneCell.cell_id, + clone_cell_id: cloneCell.cell_id[0], }); try { await client.enableCloneCell({ - clone_cell_id: cloneCell.cell_id, + clone_cell_id: cloneCell.cell_id[0], }); t.fail(); } catch (error) {