Skip to content

Commit 0a2d7c8

Browse files
committed
Update to neomerx/json-api 0.6.0
1 parent 5987b8f commit 0a2d7c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"require": {
2424
"php": ">=5.5.0",
25-
"neomerx/json-api": "dev-develop"
25+
"neomerx/json-api": "^0.6.0"
2626
},
2727
"require-dev": {
2828
"phpunit/phpunit": "^4.7"

test/Integration/EnvironmentServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function testEncoder()
110110
$this->assertFalse($this->service->hasEncoder());
111111
$this->service->registerCodecMatcher($this->repository->getCodecMatcher());
112112
$this->assertEquals($matcher->getEncoder(), $this->service->getEncoder());
113-
$this->assertEquals($matcher->getEncoderHeaderMatchedType(), $this->service->getEncoderMediaType());
113+
$this->assertEquals($matcher->getEncoderRegisteredMatchedType(), $this->service->getEncoderMediaType());
114114
$this->assertTrue($this->service->hasEncoder());
115115
}
116116

0 commit comments

Comments
 (0)