summaryrefslogtreecommitdiffstats
path: root/tests/unit/businesslayer/FeedBusinessLayerTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-04 03:09:17 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-04 03:09:26 +0200
commit57e61031877e1f921e7b4446471c61e4c5ac1b13 (patch)
tree7128e8d03cddd191113e0e8e447dcee5437d37d4 /tests/unit/businesslayer/FeedBusinessLayerTest.php
parent8eedcfa1446fb6589cf57ec19ef5b5163b38b5b3 (diff)
register hooks for deleting feeds, folders and items if a user is deleted, fix #468
Diffstat (limited to 'tests/unit/businesslayer/FeedBusinessLayerTest.php')
-rw-r--r--tests/unit/businesslayer/FeedBusinessLayerTest.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit/businesslayer/FeedBusinessLayerTest.php b/tests/unit/businesslayer/FeedBusinessLayerTest.php
index 357ee73eb..40b1fa883 100644
--- a/tests/unit/businesslayer/FeedBusinessLayerTest.php
+++ b/tests/unit/businesslayer/FeedBusinessLayerTest.php
@@ -733,5 +733,14 @@ class FeedBusinessLayerTest extends \OCA\AppFramework\Utility\TestUtility {
}
+ public function testDeleteUser() {
+ $this->feedMapper->expects($this->once())
+ ->method('deleteUser')
+ ->will($this->returnValue($this->user));
+
+ $this->feedBusinessLayer->deleteUser($this->user);
+ }
+
+
}