aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/objects/sites.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/tests/objects/sites.php')
-rw-r--r--engine/tests/objects/sites.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/engine/tests/objects/sites.php b/engine/tests/objects/sites.php
index e5acbb3f9..a05074c59 100644
--- a/engine/tests/objects/sites.php
+++ b/engine/tests/objects/sites.php
@@ -66,8 +66,10 @@ class ElggCoreSiteTest extends ElggCoreUnitTest {
}
public function testElggSiteSaveAndDelete() {
- $this->assertTrue($this->site->save());
- $this->assertTrue($this->site->delete());
+ $guid = $this->site->save();
+ $this->assertIsA($guid, 'int');
+ $this->assertTrue($guid > 0);
+ $this->assertIdentical(true, $this->site->delete());
}
}