ec53bf5bf6
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
15 lines
1.1 KiB
PHP
15 lines
1.1 KiB
PHP
<?php
|
|
|
|
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' );
|
|
require_once( dirname( __FILE__ ) . '/factory/class-wp-unittest-factory-for-blog.php' );
|
|
require_once( dirname( __FILE__ ) . '/factory/class-wp-unittest-factory-for-network.php' );
|
|
require_once( dirname( __FILE__ ) . '/factory/class-wp-unittest-factory-for-term.php' );
|
|
require_once( dirname( __FILE__ ) . '/factory/class-wp-unittest-generator-sequence.php' );
|
|
require_once( dirname( __FILE__ ) . '/factory/class-wp-unittest-factory-callback-after-create.php' );
|
|
require_once( dirname( __FILE__ ) . '/factory/class-wp-unittest-factory.php' );
|