From 0dea3524f9c9e9d2eb136b525c99bad6b6917f52 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 20 May 2010 20:34:13 +0000 Subject: Update unit tests for last_action column. git-svn-id: http://code.elgg.org/elgg/trunk@6118 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/tests/objects/sites.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engine/tests/objects/sites.php') diff --git a/engine/tests/objects/sites.php b/engine/tests/objects/sites.php index 696ae3da1..5e23c99ca 100644 --- a/engine/tests/objects/sites.php +++ b/engine/tests/objects/sites.php @@ -52,6 +52,7 @@ class ElggCoreSiteTest extends ElggCoreUnitTest { $attributes['access_id'] = ACCESS_PRIVATE; $attributes['time_created'] = ''; $attributes['time_updated'] = ''; + $attributes['last_action'] = ''; $attributes['enabled'] = 'yes'; $attributes['tables_split'] = 2; $attributes['tables_loaded'] = 0; @@ -61,7 +62,7 @@ class ElggCoreSiteTest extends ElggCoreUnitTest { $this->assertIdentical($this->site->expose_attributes(), $attributes); } - + public function testElggSiteSaveAndDelete() { $this->assertTrue($this->site->save()); $this->assertTrue($this->site->delete()); -- cgit v1.2.3