Commit 9baf2a87 authored by Vincent Petry's avatar Vincent Petry Committed by Thomas Müller
Browse files

Fix warnings about createMock in share20ocs tests (#26287)

parent 10d19b2e
......@@ -1770,7 +1770,7 @@ class Share20OCSTest extends \Test\TestCase {
$date = new \DateTime('2000-01-01');
$folder = $this->getMock('\OCP\Files\Folder');
$folder = $this->createMock('\OCP\Files\Folder');
$share = \OC::$server->getShareManager()->newShare();
$share
......@@ -1823,7 +1823,7 @@ class Share20OCSTest extends \Test\TestCase {
$date = new \DateTime('2000-01-01');
$folder = $this->getMock('\OCP\Files\Folder');
$folder = $this->createMock('\OCP\Files\Folder');
$share = \OC::$server->getShareManager()->newShare();
$share
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment