diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-10-19 10:03:29 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-28 08:44:05 +0200 |
commit | f8352fcb8dfb5284520396bdc624b6bf62d18219 (patch) | |
tree | 34cc43159586b971e325efd30f6f16b328f607d7 /tests/lib/Repair | |
parent | ad597d498d9298643338df2df0170159b736c12c (diff) | |
download | nextcloud-server-f8352fcb8dfb5284520396bdc624b6bf62d18219.tar.gz nextcloud-server-f8352fcb8dfb5284520396bdc624b6bf62d18219.zip |
introduce callForSeenUsers and countSeenUsers (#26361)
* introduce callForSeenUsers and countSeenUsers
* add tests
* oracle should support not null on clob
* since 9.2.0
Diffstat (limited to 'tests/lib/Repair')
-rw-r--r-- | tests/lib/Repair/RemoveRootSharesTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/Repair/RemoveRootSharesTest.php b/tests/lib/Repair/RemoveRootSharesTest.php index bf255fc7e9b..cfb81cb1ecc 100644 --- a/tests/lib/Repair/RemoveRootSharesTest.php +++ b/tests/lib/Repair/RemoveRootSharesTest.php @@ -106,6 +106,7 @@ class RemoveRootSharesTest extends \Test\TestCase { $user = $this->userManager->createUser('test', 'test'); $userFolder = $this->rootFolder->getUserFolder('test'); $fileId = $userFolder->getId(); + $user->updateLastLoginTimestamp(); //Now insert cyclic share $qb = $this->connection->getQueryBuilder(); @@ -134,6 +135,7 @@ class RemoveRootSharesTest extends \Test\TestCase { $user1 = $this->userManager->createUser('test1', 'test1'); $userFolder = $this->rootFolder->getUserFolder('test1'); $fileId = $userFolder->getId(); + $user1->updateLastLoginTimestamp(); //Now insert cyclic share $qb = $this->connection->getQueryBuilder(); @@ -156,6 +158,7 @@ class RemoveRootSharesTest extends \Test\TestCase { $userFolder = $this->rootFolder->getUserFolder('test2'); $folder = $userFolder->newFolder('foo'); $fileId = $folder->getId(); + $user2->updateLastLoginTimestamp(); //Now insert cyclic share $qb = $this->connection->getQueryBuilder(); |