aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-30 20:59:14 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-30 20:59:14 +0000
commitc9c73cec5c1f4ba333d44f7751eeb7e7e606bbe8 (patch)
treea6dea6af4e8b33f2bec1d51aa636515b35b83c55 /engine/tests
parentd5ea193dfb80cd5d35d02428363f9ce18aa01205 (diff)
downloadelgg-c9c73cec5c1f4ba333d44f7751eeb7e7e606bbe8.tar.gz
elgg-c9c73cec5c1f4ba333d44f7751eeb7e7e606bbe8.tar.bz2
Deprecating get_entities_from_access_id().
git-svn-id: http://code.elgg.org/elgg/trunk@3610 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests')
-rw-r--r--engine/tests/objects/users.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/engine/tests/objects/users.php b/engine/tests/objects/users.php
index 358a80f1c..ace683a82 100644
--- a/engine/tests/objects/users.php
+++ b/engine/tests/objects/users.php
@@ -152,6 +152,16 @@ class ElggCoreUserTest extends ElggCoreUnitTest {
$this->user->delete();
}
+ public function testElggUserDelete() {
+ $guid = $this->user->save();
+
+ // delete object
+ $this->assertTrue($this->user->delete());
+
+ // check GUID not in database
+ $this->assertFalse($this->fetchUser($guid));
+ }
+
protected function fetchUser($guid) {
global $CONFIG;