Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/jsxc.nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsualko <klaus@jsxc.org>2020-03-27 13:58:50 +0300
committersualko <klaus@jsxc.org>2020-03-27 15:36:32 +0300
commitc961d757b7117b7c53dbbf53a77251989352cac1 (patch)
treed46f85191f042d63c5b18bd958499e73f65505db /tests/integration
parent496a20ad4938f64cb5ca8b948bb048161f84a7c2 (diff)
test: update phpunit to version 8
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/ContactsStoreUserProviderTest.php4
-rw-r--r--tests/integration/DbLockTest.php2
-rw-r--r--tests/integration/MemLockTest.php2
-rw-r--r--tests/integration/RosterPushTest.php2
-rw-r--r--tests/integration/db/MessageMapperTest.php2
-rw-r--r--tests/integration/db/PresenceMapperTest.php4
-rw-r--r--tests/integration/db/StanzaMapperTest.php4
7 files changed, 10 insertions, 10 deletions
diff --git a/tests/integration/ContactsStoreUserProviderTest.php b/tests/integration/ContactsStoreUserProviderTest.php
index 30c2dfe..0073c17 100644
--- a/tests/integration/ContactsStoreUserProviderTest.php
+++ b/tests/integration/ContactsStoreUserProviderTest.php
@@ -60,7 +60,7 @@ class ContactsStoreUserProviderTest extends TestCase
*/
private $contactsManager;
- public function setUp()
+ public function setUp(): void
{
if (!Application::contactsStoreApiSupported()) {
$this->markTestSkipped();
@@ -148,7 +148,7 @@ class ContactsStoreUserProviderTest extends TestCase
return $addressBookId;
}
- protected function tearDown()
+ protected function tearDown(): void
{
$config = \OC::$server->getConfig();
$config->setAppValue('core', 'shareapi_only_share_with_group_members', 'no');
diff --git a/tests/integration/DbLockTest.php b/tests/integration/DbLockTest.php
index d344c9f..e071990 100644
--- a/tests/integration/DbLockTest.php
+++ b/tests/integration/DbLockTest.php
@@ -41,7 +41,7 @@ class DbLockTest extends TestCase
*/
private $container;
- public function setUp()
+ public function setUp(): void
{
parent::setUp();
$app = new Application();
diff --git a/tests/integration/MemLockTest.php b/tests/integration/MemLockTest.php
index f29df59..728c2ec 100644
--- a/tests/integration/MemLockTest.php
+++ b/tests/integration/MemLockTest.php
@@ -38,7 +38,7 @@ class MemLockTest extends TestCase
public static $time;
- public function setUp()
+ public function setUp(): void
{
parent::setUp();
$app = new Application();
diff --git a/tests/integration/RosterPushTest.php b/tests/integration/RosterPushTest.php
index 7b46b11..b6b9e43 100644
--- a/tests/integration/RosterPushTest.php
+++ b/tests/integration/RosterPushTest.php
@@ -61,7 +61,7 @@ class RosterPushTest extends TestCase
*/
private $contactsStore;
- public function setUp()
+ public function setUp(): void
{
if (!Application::contactsStoreApiSupported()) {
$this->markTestSkipped();
diff --git a/tests/integration/db/MessageMapperTest.php b/tests/integration/db/MessageMapperTest.php
index ea79114..52ca3b4 100644
--- a/tests/integration/db/MessageMapperTest.php
+++ b/tests/integration/db/MessageMapperTest.php
@@ -23,7 +23,7 @@ class MessageMapperTest extends MapperTestUtility
*/
protected $mapper;
- protected function setUp()
+ protected function setUp(): void
{
$this->entityName = 'OCA\OJSXC\Db\Message';
$this->mapperName = 'MessageMapper';
diff --git a/tests/integration/db/PresenceMapperTest.php b/tests/integration/db/PresenceMapperTest.php
index 4676ce7..866b132 100644
--- a/tests/integration/db/PresenceMapperTest.php
+++ b/tests/integration/db/PresenceMapperTest.php
@@ -33,7 +33,7 @@ class PresenceMapperTest extends MapperTestUtility
*/
protected $newContentContainer;
- protected function setUp()
+ protected function setUp(): void
{
$this->entityName = 'OCA\OJSXC\Db\Presence';
$this->mapperName = 'PresenceMapper';
@@ -49,7 +49,7 @@ class PresenceMapperTest extends MapperTestUtility
}
}
- protected function tearDown()
+ protected function tearDown(): void
{
foreach (\OC::$server->getUserManager()->search('') as $user) {
$user->delete();
diff --git a/tests/integration/db/StanzaMapperTest.php b/tests/integration/db/StanzaMapperTest.php
index 5db8727..d07e830 100644
--- a/tests/integration/db/StanzaMapperTest.php
+++ b/tests/integration/db/StanzaMapperTest.php
@@ -16,7 +16,7 @@ class StanzaMapperTest extends MapperTestUtility
*/
protected $mapper;
- protected function setUp()
+ protected function setUp(): void
{
$this->entityName = 'OCA\OJSXC\Db\Stanza';
$this->mapperName = 'StanzaMapper';
@@ -33,7 +33,7 @@ class StanzaMapperTest extends MapperTestUtility
]
];
}
-
+
/**
* @dataProvider insertProvider
*/