Skip to content

Commit 254c75e

Browse files
authored
Support Content-Type: application/x-amz-json-1.1 (#492)
1 parent 3ca8e48 commit 254c75e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## 0.5.2
4+
5+
### Fixed
6+
7+
- Add support for `Content-Type: application/x-amz-json-1.1` in test case.
8+
39
## 0.5.1
410

511
### Added

src/Test/TestCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public static function assertRequestEqualsHttpRequest(string $expected, Request
7676
break;
7777
case 'application/json':
7878
case 'application/x-amz-json-1.0':
79+
case 'application/x-amz-json-1.1':
7980
if ('' === \trim($body)) {
8081
self::assertSame($body, $actual->getBody()->stringify());
8182
} else {

0 commit comments

Comments
 (0)