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'); } /**