Changeset 64015
- Timestamp:
- 09/30/2026 03:27:44 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/bookmark/getBookmark.php
r51568 r64015 144 144 // Check the bookmark was cached. 145 145 $actual_cache = wp_cache_get( $bookmark->link_id, 'bookmark' ); 146 147 // Keep assertEquals() because the objects are intentionally compared by value. 146 148 $this->assertEquals( $bookmark, $actual_cache ); 147 149 } … … 233 235 */ 234 236 if ( is_object( $expected ) ) { 237 // Keep assertEquals() because the objects are intentionally compared by value. 235 238 $this->assertEquals( $expected, $actual_bookmark ); 236 239 } else { … … 240 243 // Check the bookmark was cached. 241 244 $actual_cache = wp_cache_get( self::$bookmark->link_id, 'bookmark' ); 245 246 // Keep assertEquals() because the objects are intentionally compared by value. 242 247 $this->assertEquals( self::$bookmark, $actual_cache ); 243 248 } … … 291 296 */ 292 297 if ( is_object( $expected ) ) { 298 // Keep assertEquals() because the objects are intentionally compared by value. 293 299 $this->assertEquals( $expected, $actual_bookmark ); 294 300 } else { … … 298 304 // Check the bookmark was cached. 299 305 $actual_cache = wp_cache_get( self::$bookmark->link_id, 'bookmark' ); 306 307 // Keep assertEquals() because the objects are intentionally compared by value. 300 308 $this->assertEquals( self::$bookmark, $actual_cache ); 301 309 }
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)