From 7d16b4214d1eda26c39bc1299b11b86a7c699455 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Thu, 18 Apr 2024 15:07:55 +0200 Subject: [PATCH] fix tests Signed-off-by: Marcel Klehr --- tests/ClassifierTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ClassifierTest.php b/tests/ClassifierTest.php index e81630c1..b80c101a 100644 --- a/tests/ClassifierTest.php +++ b/tests/ClassifierTest.php @@ -505,6 +505,8 @@ public function testFacesPipeline() : void { $testFiles[0]->move($sharedFolder->getPath().'/'.$testFiles[0]->getName()); self::assertCount(1, $this->faceDetectionMapper->findByUserId(self::TEST_USER2), 'user 2 should have 1 face detection now'); + $this->shareManager->deleteShare($share); + self::assertCount(0, $this->faceDetectionMapper->findByUserId(self::TEST_USER2), 'user 2 should have 0 face detections after deleting the share'); } /**