@@ -4,15 +4,15 @@ import * as fs from 'node:fs'
44import * as path from 'node:path'
55import * as proxyquire from 'proxyquire'
66import { stderr } from 'stdout-stderr'
7- import { ConnectionDetailsWithAttachment , utils } from '@heroku/heroku-cli-util'
7+ import { ConnectionDetails , utils } from '@heroku/heroku-cli-util'
88import { unwrap } from '../../../helpers/utils/unwrap'
99import sinon = require( 'sinon' )
1010import * as tmp from 'tmp'
1111import type * as Pgsql from '../../../../src/lib/pg/psql'
1212
1313describe ( 'psql' , function ( ) {
14- const db : ConnectionDetailsWithAttachment = {
15- attachment : { } as ConnectionDetailsWithAttachment [ 'attachment' ] ,
14+ const db : ConnectionDetails = {
15+ attachment : { } as ConnectionDetails [ 'attachment' ] ,
1616 user : 'jeff' ,
1717 password : 'pass' ,
1818 database : 'mydb' ,
@@ -24,8 +24,8 @@ describe('psql', function () {
2424 url : '' ,
2525 }
2626
27- const bastionDb : ConnectionDetailsWithAttachment = {
28- attachment : { } as ConnectionDetailsWithAttachment [ 'attachment' ] ,
27+ const bastionDb : ConnectionDetails = {
28+ attachment : { } as ConnectionDetails [ 'attachment' ] ,
2929 user : 'jeff' ,
3030 password : 'pass' ,
3131 database : 'mydb' ,
@@ -68,15 +68,15 @@ describe('psql', function () {
6868 runWithTunnel = psqlServiceRunWithTunnelSpy
6969 } ,
7070 psql : {
71- getPsqlConfigs : sinon . stub ( ) . callsFake ( ( db : ConnectionDetailsWithAttachment ) => {
71+ getPsqlConfigs : sinon . stub ( ) . callsFake ( ( db : ConnectionDetails ) => {
7272 return utils . pg . psql . getPsqlConfigs ( db )
7373 } ) ,
7474 } ,
7575 } ,
7676 }
7777 psql = proxyquire ( '../../../../src/lib/pg/psql' , {
7878 '@heroku/heroku-cli-util' : {
79- ConnectionDetailsWithAttachment : { } as ConnectionDetailsWithAttachment ,
79+ ConnectionDetailsWithAttachment : { } as ConnectionDetails ,
8080 utils : mockUtils ,
8181 } ,
8282 } )
@@ -175,7 +175,7 @@ describe('psql', function () {
175175 } ,
176176 name : 'DATABASE' ,
177177 } ,
178- } as ConnectionDetailsWithAttachment
178+ } as ConnectionDetails
179179
180180 context ( 'when HEROKU_PSQL_HISTORY is set' , function ( ) {
181181 let historyPath : string
0 commit comments