diff options
author | Arnold Daniels <arnold@jasny.net> | 2017-02-09 14:58:17 +0100 |
---|---|---|
committer | Arnold Daniels <arnold@jasny.net> | 2017-02-09 14:58:17 +0100 |
commit | b3628e20a477ea0cc132f752378866a4172dbd93 (patch) | |
tree | 57b21ce3941b93aea581b19ee57b55641d8ba5a1 /tests/Controller | |
parent | 75ab132381ac2e9fc97daae680410e8cb3d292c3 (diff) | |
download | controller-b3628e20a477ea0cc132f752378866a4172dbd93.zip controller-b3628e20a477ea0cc132f752378866a4172dbd93.tar.gz controller-b3628e20a477ea0cc132f752378866a4172dbd93.tar.bz2 |
Fixup after rebase
Diffstat (limited to 'tests/Controller')
-rw-r--r-- | tests/Controller/ContentNegotiationTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Controller/ContentNegotiationTest.php b/tests/Controller/ContentNegotiationTest.php index d5e142d..4775306 100644 --- a/tests/Controller/ContentNegotiationTest.php +++ b/tests/Controller/ContentNegotiationTest.php @@ -38,7 +38,7 @@ class ContentNegotiationTest extends \PHPUnit_Framework_TestCase $trait->expects($this->once())->method('getRequest')->will($this->returnValue($request)); $trait->expects($this->once())->method('getNegotiator')->with($this->equalTo($type))->will($this->returnValue($negotiator)); - $buildClass = $this->callProtectedMethod($trait, 'getNegotiatorName', [$type]); + $buildClass = $this->callPrivateMethod($trait, 'getNegotiatorName', [$type]); $result = $trait->{$method}($priorities); $this->assertEquals($buildClass, $negotiatorClass, "Obtained wrong negotiator class"); |