Skip to content

Commit

Permalink
Revert "Developer branch"
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek0411999 authored Aug 7, 2024
1 parent fea9ca4 commit 532e68f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:

env:
PACT_BROKER_BASE_URL: https://prateek.pactflow.io
PACT_BROKER_BASE_URL: ${{ secrets.PACT_BROKER_BASE_URL }}
PACT_PROVIDER: pactflow-example-provider
PACT_BROKER_TOKEN: ${{ secrets.PACTFLOW_TOKEN_FOR_CI_CD_WORKSHOP }}
REACT_APP_API_BASE_URL: http://localhost:3001
Expand Down
3 changes: 1 addition & 2 deletions src/api.pact.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ describe('API Pact test', () => {
const expectedProduct = {
id: '10',
type: 'CREDIT_CARD',
name: '28 Degrees',
date: "11/02/2024"
name: '28 Degrees'
};

// Uncomment to see this fail
Expand Down
3 changes: 1 addition & 2 deletions src/product.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
export class Product {
constructor({id, name, type, date}) {
constructor({id, name, type}) {
this.id = id
this.name = name
this.type = type
this.date = date
}
}

0 comments on commit 532e68f

Please sign in to comment.