diff options
Diffstat (limited to 'apps/sharebymail')
-rw-r--r-- | apps/sharebymail/tests/CapabilitiesTest.php | 2 | ||||
-rw-r--r-- | apps/sharebymail/tests/SettingsTest.php | 2 | ||||
-rw-r--r-- | apps/sharebymail/tests/ShareByMailProviderTest.php | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/sharebymail/tests/CapabilitiesTest.php b/apps/sharebymail/tests/CapabilitiesTest.php index b1545994199..96fce010c1d 100644 --- a/apps/sharebymail/tests/CapabilitiesTest.php +++ b/apps/sharebymail/tests/CapabilitiesTest.php @@ -26,7 +26,7 @@ class CapabilitiesTest extends TestCase { /** @var Capabilities */ private $capabilities; - public function setUp() { + public function setUp(): void { parent::setUp(); $this->capabilities = new Capabilities(); diff --git a/apps/sharebymail/tests/SettingsTest.php b/apps/sharebymail/tests/SettingsTest.php index b7150e6c6dc..12d8fc4d919 100644 --- a/apps/sharebymail/tests/SettingsTest.php +++ b/apps/sharebymail/tests/SettingsTest.php @@ -34,7 +34,7 @@ class SettingsTest extends TestCase { /** @var SettingsManager | \PHPUnit_Framework_MockObject_MockObject */ private $settingsManager; - public function setUp() { + public function setUp(): void { parent::setUp(); $this->settingsManager = $this->getMockBuilder(SettingsManager::class) diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php index 744c2d6f3ee..8adc249ee61 100644 --- a/apps/sharebymail/tests/ShareByMailProviderTest.php +++ b/apps/sharebymail/tests/ShareByMailProviderTest.php @@ -97,7 +97,7 @@ class ShareByMailProviderTest extends TestCase { /** @var CapabilitiesManager | \PHPUnit_Framework_MockObject_MockObject */ private $capabilitiesManager; - public function setUp() { + public function setUp(): void { parent::setUp(); $this->shareManager = \OC::$server->getShareManager(); @@ -174,10 +174,10 @@ class ShareByMailProviderTest extends TestCase { } - public function tearDown() { + public function tearDown(): void { $this->connection->getQueryBuilder()->delete('share')->execute(); - return parent::tearDown(); + parent::tearDown(); } public function testCreate() { |