aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Authentication/Token
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-21 16:40:38 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-27 13:34:41 +0100
commitc007ca624f4a95e1a491221d425fcb2fa6e5589a (patch)
treeb60aa133b438eb116ac3579283aa8a7967efd12b /tests/lib/Authentication/Token
parente0f32814e33f9ebb8c42744611048cbfac1eb588 (diff)
downloadnextcloud-server-c007ca624f4a95e1a491221d425fcb2fa6e5589a.tar.gz
nextcloud-server-c007ca624f4a95e1a491221d425fcb2fa6e5589a.zip
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/Authentication/Token')
-rw-r--r--tests/lib/Authentication/Token/DefaultTokenCleanupJobTest.php2
-rw-r--r--tests/lib/Authentication/Token/DefaultTokenMapperTest.php2
-rw-r--r--tests/lib/Authentication/Token/DefaultTokenProviderTest.php2
-rw-r--r--tests/lib/Authentication/Token/ManagerTest.php2
-rw-r--r--tests/lib/Authentication/Token/PublicKeyTokenMapperTest.php2
-rw-r--r--tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php2
-rw-r--r--tests/lib/Authentication/Token/RemoteWipeTest.php2
7 files changed, 7 insertions, 7 deletions
diff --git a/tests/lib/Authentication/Token/DefaultTokenCleanupJobTest.php b/tests/lib/Authentication/Token/DefaultTokenCleanupJobTest.php
index b8074d75b30..e4bc13fe5fb 100644
--- a/tests/lib/Authentication/Token/DefaultTokenCleanupJobTest.php
+++ b/tests/lib/Authentication/Token/DefaultTokenCleanupJobTest.php
@@ -33,7 +33,7 @@ class DefaultTokenCleanupJobTest extends TestCase {
private $job;
private $tokenProvider;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->tokenProvider = $this->getMockBuilder(Manager::class)
diff --git a/tests/lib/Authentication/Token/DefaultTokenMapperTest.php b/tests/lib/Authentication/Token/DefaultTokenMapperTest.php
index a40db4461d2..fb20558c95a 100644
--- a/tests/lib/Authentication/Token/DefaultTokenMapperTest.php
+++ b/tests/lib/Authentication/Token/DefaultTokenMapperTest.php
@@ -46,7 +46,7 @@ class DefaultTokenMapperTest extends TestCase {
private $dbConnection;
private $time;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->dbConnection = OC::$server->getDatabaseConnection();
diff --git a/tests/lib/Authentication/Token/DefaultTokenProviderTest.php b/tests/lib/Authentication/Token/DefaultTokenProviderTest.php
index 57144d0f00d..b90a9931937 100644
--- a/tests/lib/Authentication/Token/DefaultTokenProviderTest.php
+++ b/tests/lib/Authentication/Token/DefaultTokenProviderTest.php
@@ -53,7 +53,7 @@ class DefaultTokenProviderTest extends TestCase {
/** @var int */
private $time;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->mapper = $this->createMock(DefaultTokenMapper::class);
diff --git a/tests/lib/Authentication/Token/ManagerTest.php b/tests/lib/Authentication/Token/ManagerTest.php
index 1f3fda1b15d..6f64424364e 100644
--- a/tests/lib/Authentication/Token/ManagerTest.php
+++ b/tests/lib/Authentication/Token/ManagerTest.php
@@ -46,7 +46,7 @@ class ManagerTest extends TestCase {
/** @var Manager */
private $manager;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->publicKeyTokenProvider = $this->createMock(PublicKeyTokenProvider::class);
diff --git a/tests/lib/Authentication/Token/PublicKeyTokenMapperTest.php b/tests/lib/Authentication/Token/PublicKeyTokenMapperTest.php
index b8c399b81f8..b58001ee7bb 100644
--- a/tests/lib/Authentication/Token/PublicKeyTokenMapperTest.php
+++ b/tests/lib/Authentication/Token/PublicKeyTokenMapperTest.php
@@ -47,7 +47,7 @@ class PublicKeyTokenMapperTest extends TestCase {
/** @var int */
private $time;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->dbConnection = OC::$server->getDatabaseConnection();
diff --git a/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php b/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php
index 1b468839cb7..aecbd969ee1 100644
--- a/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php
+++ b/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php
@@ -54,7 +54,7 @@ class PublicKeyTokenProviderTest extends TestCase {
/** @var int */
private $time;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->mapper = $this->createMock(PublicKeyTokenMapper::class);
diff --git a/tests/lib/Authentication/Token/RemoteWipeTest.php b/tests/lib/Authentication/Token/RemoteWipeTest.php
index 5773bb596a5..2ca49d36159 100644
--- a/tests/lib/Authentication/Token/RemoteWipeTest.php
+++ b/tests/lib/Authentication/Token/RemoteWipeTest.php
@@ -51,7 +51,7 @@ class RemoteWipeTest extends TestCase {
/** @var RemoteWipe */
private $remoteWipe;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->tokenProvider = $this->createMock(IProvider::class);