- Timestamp:
- 09/22/2026 11:04:55 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-users-controller.php
r63160 r63880 1996 1996 1997 1997 $this->assertSame( 'editor', $new_data['roles'][0] ); 1998 $this->assertNot Equals( 'administrator', $new_data['roles'][0] );1998 $this->assertNotSame( 'administrator', $new_data['roles'][0] ); 1999 1999 2000 2000 $user = get_userdata( $user_id ); … … 2091 2091 $new_data = $response->get_data(); 2092 2092 $this->assertSame( 'editor', $new_data['roles'][0] ); 2093 $this->assertNot Equals( 'administrator', $new_data['roles'][0] );2093 $this->assertNotSame( 'administrator', $new_data['roles'][0] ); 2094 2094 2095 2095 $user_id = self::factory()->user->create( array( 'role' => 'administrator' ) ); … … 2105 2105 $new_data = $response->get_data(); 2106 2106 $this->assertSame( 'editor', $new_data['roles'][0] ); 2107 $this->assertNot Equals( 'administrator', $new_data['roles'][0] );2107 $this->assertNotSame( 'administrator', $new_data['roles'][0] ); 2108 2108 } 2109 2109
Note:
See TracChangeset
for help on using the changeset viewer.