Skip to content

Commit

Permalink
ci(fix): dont uri encode a provider with spaces when passing to pact-…
Browse files Browse the repository at this point in the history
…broker cli
  • Loading branch information
YOU54F committed Apr 27, 2023
1 parent 2baa81c commit 8f50008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/PhpPact/Standalone/Broker/BrokerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function getArgumentsEmptyConfig(): void
public function describeVersion(): void
{
$config = new BrokerConfig();
$config->setPacticipant(\rawurlencode('Animal Profile Service'))
$config->setPacticipant("Animal Profile Service")
->setBrokerUri(new Uri('https://test.pactflow.io'))
->setBrokerUsername('dXfltyFMgNOFZAxr8io9wJ37iUpY42M')
->setBrokerPassword('O5AIZWxelWbLvqMd8PkAVycBJh2Psyg1');
Expand All @@ -69,7 +69,7 @@ public function describeVersion(): void
public function listLatestPactVersions(): void
{
$config = new BrokerConfig();
$config->setPacticipant(\rawurlencode('Animal Profile Service'))
$config->setPacticipant("Animal Profile Service")
->setBrokerUri(new Uri('https://test.pactflow.io'))
->setBrokerUsername('dXfltyFMgNOFZAxr8io9wJ37iUpY42M')
->setBrokerPassword('O5AIZWxelWbLvqMd8PkAVycBJh2Psyg1');
Expand Down

0 comments on commit 8f50008

Please sign in to comment.