Changeset 52010 for trunk/tests/phpunit/tests/user/session.php
- Timestamp:
- 11/04/2021 03:22:47 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/user/session.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/session.php
r51568 r52010 8 8 class Tests_User_Session extends WP_UnitTestCase { 9 9 10 function set_up() {10 public function set_up() { 11 11 parent::set_up(); 12 12 remove_all_filters( 'session_token_manager' ); … … 17 17 } 18 18 19 function test_verify_and_destroy_token() {19 public function test_verify_and_destroy_token() { 20 20 $expiration = time() + DAY_IN_SECONDS; 21 21 $token = $this->manager->create( $expiration ); … … 26 26 } 27 27 28 function test_destroy_other_tokens() {28 public function test_destroy_other_tokens() { 29 29 $expiration = time() + DAY_IN_SECONDS; 30 30 $token_1 = $this->manager->create( $expiration ); … … 40 40 } 41 41 42 function test_destroy_all_tokens() {42 public function test_destroy_all_tokens() { 43 43 $expiration = time() + DAY_IN_SECONDS; 44 44 $token_1 = $this->manager->create( $expiration );
Note: See TracChangeset
for help on using the changeset viewer.