[pLog-svn] r6683 - plog/branches/lifetype-1.2/class/test/tests/dao

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Mon Jun 30 14:46:37 EDT 2008


Author: jondaley
Date: 2008-06-30 14:46:37 -0400 (Mon, 30 Jun 2008)
New Revision: 6683

Modified:
   plog/branches/lifetype-1.2/class/test/tests/dao/permissions_test.class.php
Log:
delete permission when done with it

Modified: plog/branches/lifetype-1.2/class/test/tests/dao/permissions_test.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/test/tests/dao/permissions_test.class.php	2008-06-30 18:37:48 UTC (rev 6682)
+++ plog/branches/lifetype-1.2/class/test/tests/dao/permissions_test.class.php	2008-06-30 18:46:37 UTC (rev 6683)
@@ -33,6 +33,9 @@
 			$this->assertEquals( $perm->getDescription(), $newPerm->getDescription(), "new permission is not the same as original" );
 			$this->assertEquals( $perm->isAdminOnlyPermission(), $newPerm->isAdminOnlyPermission(), "new permission is not the same as original" );
 			$this->assertEquals( $perm->isCorePermission(), $newPerm->isCorePermission(), "new permission is not the same as original" );
+
+			$this->assertTrue( $perms->deletePermission( $perm->getId()), "There was an error deleting the permission" );			
+
 		}
 		
 		function testGetPermission()



More information about the pLog-svn mailing list