Changeset 6848 for trunk/tests/phpunit/testcases/common/query.php
- Timestamp:
- 08/09/2018 07:53:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/common/query.php
r5954 r6848 50 50 51 51 /** 52 * @group counts52 * @group jjj 53 53 * @covers ::bbp_get_public_child_count 54 54 */ 55 55 public function test_bbp_get_public_child_count() { 56 57 /* Empty Forum ********************************************************/ 58 56 59 $f = $this->factory->forum->create(); 57 60 58 // Test initial forum public child counts61 // Test initial zero forum public child counts 59 62 $count = bbp_get_public_child_count( $f, bbp_get_forum_post_type() ); 60 63 $this->assertSame( 0, $count ); … … 65 68 /* Sub-Forums *********************************************************/ 66 69 70 // 3 public sub-forums 67 71 $this->factory->forum->create_many( 3, array( 68 72 'post_parent' => $f, 69 73 ) ); 70 74 75 // 1 private sub-forum 71 76 $this->factory->forum->create( array( 72 77 'post_parent' => $f,
Note: See TracChangeset
for help on using the changeset viewer.