From 57767905b6142d490acdfe2bebe1cc4b76003de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Tue, 5 Dec 2023 17:19:54 +0100 Subject: [PATCH] Fix test by being consistent between filename and data timestamp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- tests/ACL/ACLManagerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ACL/ACLManagerTest.php b/tests/ACL/ACLManagerTest.php index b85b1ed5b..eacb23a8e 100644 --- a/tests/ACL/ACLManagerTest.php +++ b/tests/ACL/ACLManagerTest.php @@ -109,7 +109,7 @@ public function testGetACLPermissionsForPathInTrashbin() { '__groupfolders/1/subfolder' => [ new Rule($this->dummyMapping, 10, Constants::PERMISSION_UPDATE, Constants::PERMISSION_UPDATE) // add write ], - '__groupfolders/trash/1/subfolder2.d1700748275' => [ + '__groupfolders/trash/1/subfolder2.d1700752274' => [ new Rule($this->dummyMapping, 10, Constants::PERMISSION_SHARE, Constants::PERMISSION_SHARE) // add share ] ]; @@ -125,6 +125,6 @@ public function testGetACLPermissionsForPathInTrashbin() { 'original_location' => 'subfolder/subfolder2', 'folder_id' => '1', ]); - $this->assertEquals(Constants::PERMISSION_ALL, $this->aclManager->getACLPermissionsForPath('__groupfolders/trash/1/subfolder2.d1700748275/coucou.md')); + $this->assertEquals(Constants::PERMISSION_ALL, $this->aclManager->getACLPermissionsForPath('__groupfolders/trash/1/subfolder2.d1700752274/coucou.md')); } }