Changeset 52824 for trunk/tests/phpunit/tests/user/capabilities.php
- Timestamp:
- 03/06/2022 11:02:12 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/capabilities.php
r52823 r52824 1642 1642 1643 1643 $user->set_role( 'editor' ); 1644 $this->assertSame( 1, $remove_user_role->get_call_count() ); 1645 $this->assertSame( 1, $add_user_role->get_call_count() ); 1644 $user->set_role( 'administrator' ); 1645 $this->assertSame( 2, $remove_user_role->get_call_count() ); 1646 $this->assertSame( 2, $add_user_role->get_call_count() ); 1646 1647 } 1647 1648
Note: See TracChangeset
for help on using the changeset viewer.