From e1de2792d163e35fdada3bc66d719caa491b8034 Mon Sep 17 00:00:00 2001 From: Matt Fellows <53900+mefellows@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:29:49 +1100 Subject: [PATCH] chore: update credentials to test broker Basic auth has been deprecated, this uses a special login code to allow any user to login without credentials. If this project uses basic auth to publish to a test broker, you can now use these credentials: export PACT_BROKER_BASE_URL=https://test.pactflow.io export PACT_BROKER_TOKEN=129cCdfCWhMzcC9pFwb4bw --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 36b31b2..acd48d7 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ describe('Pact', () => { }); ``` -Now let's look how we can publish the pacts created from the test file to a Pact broker! +Now let's look at how we can publish the pacts created from the test file to a Pact broker! **test/pact/publish-pacts.ts** @@ -161,9 +161,7 @@ import { PactModule } from '@test/pact/pact.module'; logger.log('Pact contract publishing complete!'); logger.log(''); - logger.log('Head over to https://test.pact.dius.com.au/ and login with'); - logger.log('=> Username: dXfltyFMgNOFZAxr8io9wJ37iUpY42M'); - logger.log('=> Password: O5AIZWxelWbLvqMd8PkAVycBJh2Psyg1'); + logger.log('Head over to [https://test.pact.dius.com.au/ and login with](https://test.pactflow.io/login?code=98f7810e-c7dc-493b-9c3d-7849952f1d9a&utm_medium=web&utm_source=nestjs-pact-readme)'); logger.log('to see your published contracts.'); } catch (e) { logger.error('Pact contract publishing failed: ', e);