Changeset 444
- Timestamp:
- 03/10/2010 02:16:18 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/t/test_permissions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/t/test_permissions.php
r406 r444 19 19 } 20 20 21 function test_logged_out_permissions() { 22 $this->assertFalse( (bool)GP::$user->current()->can( 'admin' ) ); 23 $this->assertFalse( (bool)GP::$user->current()->can( 'write', 'project', 1 ) ); 24 } 25 21 26 function assertEqualPermissions( $expected, $actual ) { 22 27 $fields = $actual->fields();
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)