-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Request matcher behaviour has changed for headers, queryParams, requestParams and multiparts
- Loading branch information
Stephan Wentz
committed
Jan 30, 2025
1 parent
9afa5f9
commit 8125287
Showing
61 changed files
with
4,005 additions
and
1,723 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
src/HttpClientMock/Exception/UriContainsQueryParameters.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Brainbits\FunctionalTestHelpers\HttpClientMock\Exception; | ||
|
||
use RuntimeException; | ||
|
||
use function sprintf; | ||
|
||
final class UriContainsQueryParameters extends RuntimeException implements HttpClientMockException | ||
{ | ||
public static function fromUri(string $uri): self | ||
{ | ||
return new self(sprintf('Given uri %s conts query parameters, use queryParam() calls instead.', $uri)); | ||
} | ||
} |
Oops, something went wrong.