Changeset 38861
- Timestamp:
- 10/21/2016 02:11:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/capabilities.php
r38860 r38861 468 468 $this->assertFalse( $user->has_cap( 'do_not_allow' ), "User with the {$role} role should not have the do_not_allow capability" ); 469 469 $this->assertFalse( user_can( $user, 'do_not_allow' ), "User with the {$role} role should not have the do_not_allow capability" ); 470 471 $this->assertTrue( $user->has_cap( 'exist' ), "User with the {$role} role should have the exist capability" ); 472 $this->assertTrue( user_can( $user, 'exist' ), "User with the {$role} role should have the exist capability" ); 470 473 } 471 474
Note: See TracChangeset
for help on using the changeset viewer.