diff --git a/tests/Core/Controller/LostControllerTest.php b/tests/Core/Controller/LostControllerTest.php index 177e41061a..2c9b078908 100644 --- a/tests/Core/Controller/LostControllerTest.php +++ b/tests/Core/Controller/LostControllerTest.php @@ -40,7 +40,7 @@ use PHPUnit_Framework_MockObject_MockObject; * * @package OC\Core\Controller */ -class LostControllerTest extends \PHPUnit_Framework_TestCase { +class LostControllerTest extends \Test\TestCase { /** @var LostController */ private $lostController; @@ -68,6 +68,7 @@ class LostControllerTest extends \PHPUnit_Framework_TestCase { private $request; protected function setUp() { + parent::setUp(); $this->existingUser = $this->getMockBuilder('OCP\IUser') ->disableOriginalConstructor()->getMock();