Skip to content

Commit

Permalink
test(verification): remove providerStatesUrl flag for provider verifi…
Browse files Browse the repository at this point in the history
…cation
  • Loading branch information
mefellows committed Jun 13, 2017
1 parent eb44ef2 commit f5afc02
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions examples/e2e/test/provider.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ const {
animalRepository
} = require('../provider.js')

// Append some extra endpoints to mutate current state of the API
server.get('/states', (req, res) => {
res.json({
"Matching Service": ['Has some animals', 'Has no animals', 'Has an animal with ID 1']
})
})

server.post('/setup', (req, res) => {
const state = req.body.state

Expand All @@ -42,9 +35,8 @@ describe('Pact Verification', () => {
this.timeout(10000)

let opts = {
provider: 'Animal%20Profile%20Service',
provider: 'Animal Profile Service',
providerBaseUrl: 'http://localhost:8081',
providerStatesUrl: 'http://localhost:8081/states',
providerStatesSetupUrl: 'http://localhost:8081/setup',
// Fetch pacts from broker
pactBrokerUrl: 'https://test.pact.dius.com.au/',
Expand Down

0 comments on commit f5afc02

Please sign in to comment.