@@ -281,11 +281,11 @@ describe("CredentialStore", () => {
281281 user : "svc_user" ,
282282 password : "test-fake-pw" ,
283283 private_key : "-----BEGIN PRIVATE KEY-----" ,
284- private_key_passphrase : "passphrase" ,
285- token : "oauth-token" ,
286- oauth_client_secret : "client-secret" ,
284+ private_key_passphrase : "test-fake- passphrase" ,
285+ token : "test-fake- oauth-token" ,
286+ oauth_client_secret : "test-fake- client-secret" ,
287287 ssh_password : "test-fake-ssh-pw" ,
288- connection_string : "mongodb://... " ,
288+ connection_string : "test-fake-connstring " ,
289289 } as any
290290 const { sanitized, warnings } = await CredentialStore . saveConnection ( "complex" , config )
291291
@@ -319,7 +319,7 @@ describe("dbt profiles parser", () => {
319319 // Keeping it simple for now — the parser is mostly about YAML parsing + mapping.
320320 test ( "handles env_var resolution in profiles" , async ( ) => {
321321 // Set env var for test
322- process . env . TEST_DBT_PASSWORD = "my_secret "
322+ process . env . TEST_DBT_PASSWORD = "test-fake-dbt-pw "
323323
324324 const fs = await import ( "fs" )
325325 const os = await import ( "os" )
@@ -350,7 +350,7 @@ myproject:
350350 expect ( connections ) . toHaveLength ( 1 )
351351 expect ( connections [ 0 ] . name ) . toBe ( "myproject_dev" )
352352 expect ( connections [ 0 ] . type ) . toBe ( "postgres" )
353- expect ( connections [ 0 ] . config . password ) . toBe ( "my_secret " )
353+ expect ( connections [ 0 ] . config . password ) . toBe ( "test-fake-dbt-pw " )
354354 expect ( connections [ 0 ] . config . database ) . toBe ( "mydb" )
355355 } finally {
356356 fs . rmSync ( tmpDir , { recursive : true } )
@@ -376,7 +376,7 @@ snowflake_keypair:
376376 account: abc123
377377 user: svc_user
378378 private_key: "-----BEGIN PRIVATE KEY-----\\nMIIEvQ..."
379- private_key_passphrase: "my-passphrase "
379+ private_key_passphrase: "test-fake-pp "
380380 database: ANALYTICS
381381 warehouse: COMPUTE_WH
382382 schema: PUBLIC
@@ -389,7 +389,7 @@ snowflake_keypair:
389389 expect ( connections ) . toHaveLength ( 1 )
390390 expect ( connections [ 0 ] . type ) . toBe ( "snowflake" )
391391 expect ( connections [ 0 ] . config . private_key ) . toBe ( "-----BEGIN PRIVATE KEY-----\nMIIEvQ..." )
392- expect ( connections [ 0 ] . config . private_key_passphrase ) . toBe ( "my-passphrase " )
392+ expect ( connections [ 0 ] . config . private_key_passphrase ) . toBe ( "test-fake-pp " )
393393 expect ( connections [ 0 ] . config . password ) . toBeUndefined ( )
394394 } finally {
395395 fs . rmSync ( tmpDir , { recursive : true } )
@@ -563,7 +563,7 @@ spark_project:
563563 type: spark
564564 server_hostname: my-spark-cluster.databricks.com
565565 http_path: /sql/1.0/warehouses/abc123
566- token: dapi_secret
566+ token: test_fake_dapi
567567` ,
568568 )
569569
0 commit comments