Skip to content
Permalink
Browse files

Remove use of TestCase::getMock() from "Cache" namepace tests.

  • Loading branch information...
ADmad committed Jun 4, 2016
1 parent c5963ca commit 32705075a4c7bfc79000106914a5ede4d65de6f5
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/TestCase/Cache/CacheTest.php
@@ -244,7 +244,9 @@ public function testConfigInvalidEngine()
*/
public function testConfigInvalidObject()
{
$this->getMock('\StdClass', [], [], 'RubbishEngine');
$this->getMockBuilder(\StdClass::class)
->setMockClassName('RubbishEngine')
->getMock();
Cache::config('test', [
'engine' => '\RubbishEngine'
]);

0 comments on commit 3270507

Please sign in to comment.
You can’t perform that action at this time.