Skip to content

Commit a85ef5f

Browse files
committed
Fix more hardcoded tests
1 parent 10a40ca commit a85ef5f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

test/lib/Configuration.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ test('Configuration', async t => {
9494
-------------------------- --------------------------------------- ---------------------------------------
9595
.server : Lets Encrypt Server details {name: 'staging', endpoint: 'https://acme-staging-v02.api.letsencrypt.org/directory}'
9696
.domains : Domains in certificate dev.ar.al
97-
.settingsPath : Top-level settings path /home/aral/.small-tech.org/auto-encrypt/test/staging
98-
.accountPath : Path to LE account details JSON file /home/aral/.small-tech.org/auto-encrypt/test/staging/account.json
99-
.accountIdentityPath : Path to private key for LE account /home/aral/.small-tech.org/auto-encrypt/test/staging/account-identity.pem
100-
.certificateDirectoryPath: Path to certificate directory /home/aral/.small-tech.org/auto-encrypt/test/staging/dev.ar.al
101-
.certificatePath : Path to certificate file /home/aral/.small-tech.org/auto-encrypt/test/staging/dev.ar.al/certificate.pem
102-
.certificateIdentityPath : Path to private key for certificate /home/aral/.small-tech.org/auto-encrypt/test/staging/dev.ar.al/certificate-identity.pem`)
97+
.settingsPath : Top-level settings path ${os.homedir()}/.small-tech.org/auto-encrypt/test/staging
98+
.accountPath : Path to LE account details JSON file ${os.homedir()}/.small-tech.org/auto-encrypt/test/staging/account.json
99+
.accountIdentityPath : Path to private key for LE account ${os.homedir()}/.small-tech.org/auto-encrypt/test/staging/account-identity.pem
100+
.certificateDirectoryPath: Path to certificate directory ${os.homedir()}/.small-tech.org/auto-encrypt/test/staging/dev.ar.al
101+
.certificatePath : Path to certificate file ${os.homedir()}/.small-tech.org/auto-encrypt/test/staging/dev.ar.al/certificate.pem
102+
.certificateIdentityPath : Path to private key for certificate ${os.homedir()}/.small-tech.org/auto-encrypt/test/staging/dev.ar.al/certificate-identity.pem`)
103103

104104
t.strictEquals(dehydrate(util.inspect(configuration)), dehydratedExpectedInspectionString, 'the inspection string is as expected')
105105

0 commit comments

Comments
 (0)