Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed failing test

  • Loading branch information...
commit 203ae310757406397b702bc30a64e04f4f6cfb43 1 parent 69e9838
@lorenzo lorenzo authored
View
2  tests/TestCase/Controller/Component/RequestHandlerComponentTest.php
@@ -625,7 +625,7 @@ public function testResponseContentType() {
* @return void
*/
public function testMobileDeviceDetection() {
- $request = $this->getMock('Cake\Network\Request', ['mobile']);
+ $request = $this->getMock('Cake\Network\Request', ['is']);
$request->expects($this->once())->method('is')
->with('mobile')
->will($this->returnValue(true));
Please sign in to comment.
Something went wrong with that request. Please try again.