We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d8d797 commit c9bfda4Copy full SHA for c9bfda4
tests/phpunit/tests/general/paginateLinks.php
@@ -9,10 +9,25 @@ class Tests_General_PaginateLinks extends WP_UnitTestCase {
9
10
private $i18n_count = 0;
11
12
+ /**
13
+ * Post IDs created for shared fixtures.
14
+ *
15
+ * @var int[]
16
+ */
17
public static $post_ids = array();
18
19
20
+ * Category ID created for shared fixtures.
21
22
+ * @var int
23
24
public static $category_id = 0;
25
26
27
+ * Set up shared fixtures.
28
29
+ * @param WP_UnitTest_Factory $factory Factory instance.
30
31
public static function wpSetUpBeforeClass( $factory ) {
32
self::$category_id = $factory->term->create(
33
array(
0 commit comments