mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-03 22:27:04 +00:00
Add tests for get_bookmarks() cache.
This changeset adds a unit test factory so that bookmark/link fixtures can be created during tests. Why are we writing tests for functionality that has been deprecated for years? Because it's the Right Thing to Do. See #18356. git-svn-id: https://develop.svn.wordpress.org/trunk@37563 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
require_once( dirname( __FILE__ ) . '/factory/class-wp-unittest-factory-for-thing.php' );
|
||||
require_once( dirname( __FILE__ ) . '/factory/class-wp-unittest-factory-for-post.php' );
|
||||
require_once( dirname( __FILE__ ) . '/factory/class-wp-unittest-factory-for-bookmark.php' );
|
||||
require_once( dirname( __FILE__ ) . '/factory/class-wp-unittest-factory-for-attachment.php' );
|
||||
require_once( dirname( __FILE__ ) . '/factory/class-wp-unittest-factory-for-user.php' );
|
||||
require_once( dirname( __FILE__ ) . '/factory/class-wp-unittest-factory-for-comment.php' );
|
||||
|
||||
Reference in New Issue
Block a user