diff options
author | Arnold Daniels <arnold@jasny.net> | 2017-02-09 12:54:41 +0100 |
---|---|---|
committer | Arnold Daniels <arnold@jasny.net> | 2017-02-09 14:54:53 +0100 |
commit | 9f2e0789a87685d6ba8f2cf10ee345d64771d95e (patch) | |
tree | 9f49f5b9543d7f8319fb91105a1c89fb3f10eecd /tests/Controller/ContentNegotiationTest.php | |
parent | 142aa6e66c0559b03278f8f62ecec5747b8e019e (diff) | |
download | controller-9f2e0789a87685d6ba8f2cf10ee345d64771d95e.zip controller-9f2e0789a87685d6ba8f2cf10ee345d64771d95e.tar.gz controller-9f2e0789a87685d6ba8f2cf10ee345d64771d95e.tar.bz2 |
Fixed issues with controllerinterface and tests
Diffstat (limited to 'tests/Controller/ContentNegotiationTest.php')
-rw-r--r-- | tests/Controller/ContentNegotiationTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Controller/ContentNegotiationTest.php b/tests/Controller/ContentNegotiationTest.php index 1a390a4..d5e142d 100644 --- a/tests/Controller/ContentNegotiationTest.php +++ b/tests/Controller/ContentNegotiationTest.php @@ -38,10 +38,10 @@ 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)); - $builtClass = $this->callProtectedMethod($trait, 'getNegotiatorName', [$type]); + $buildClass = $this->callProtectedMethod($trait, 'getNegotiatorName', [$type]); $result = $trait->{$method}($priorities); - $this->assertEquals($builtClass, $negotiatorClass, "Obtained wrong negotiator class"); + $this->assertEquals($buildClass, $negotiatorClass, "Obtained wrong negotiator class"); $this->assertEquals($result, $expected, "Obtained result does not match expected result"); } |