Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore(deps): use pact-php ffi branch
  • Loading branch information
YOU54F committed Jul 24, 2023
commit 5cde71a3ab305ecb6f8a8a9178580a3326441ab5
2 changes: 1 addition & 1 deletion provider/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
],
"require-dev": {
"pact-foundation/pact-php": "dev-ffi-next as 10.0.0",
"pact-foundation/pact-php": "dev-ffi as 10.0.0",
"phpunit/phpunit": "^9.5"
},
"require": {
Expand Down
48 changes: 24 additions & 24 deletions provider/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions provider/tests/ConsumerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,14 @@ public function testPersonConsumer()
// $broker->setToken('pass'); // PactFlow Broker

$selectors = (new ConsumerVersionSelectors())
->addSelector('{"mainBranch":"true"');
->addSelector('{"mainBranch":"true"}');

// SETUP - Pact Broker Dynamic Retrieval Methods.
// Note: - Only use if not using Pact by Url, File or Directory
// These should only be set, when running builds based on a provider change

$broker->setConsumerVersionSelectors($selectors);


// ->setProviderBaseUrl(new Uri("http://localhost:8000"))
// ->setBrokerUri(new Uri("http://localhost:9292"))
// ->setPublishResults(true);


// SETUP - Verify Pact By Url Methods.
// If a Pact Url is provided, you should not add the dynamic retrieval methods
// This would be run when a consumer contract that requires verification is published
Expand Down