Changeset 35225 for trunk/tests/phpunit/tests/comment/getCommentCount.php
- Timestamp:
- 10/16/2015 09:04:12 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/getCommentCount.php
r33822 r35225 15 15 16 16 public function test_get_comment_count_approved() { 17 $this->factory->comment->create( array(17 self::$factory->comment->create( array( 18 18 'comment_approved' => 1 19 19 ) ); … … 30 30 31 31 public function test_get_comment_count_awaiting() { 32 $this->factory->comment->create( array(32 self::$factory->comment->create( array( 33 33 'comment_approved' => 0 34 34 ) ); … … 45 45 46 46 public function test_get_comment_count_spam() { 47 $this->factory->comment->create( array(47 self::$factory->comment->create( array( 48 48 'comment_approved' => 'spam' 49 49 ) ); … … 60 60 61 61 public function test_get_comment_count_trash() { 62 $this->factory->comment->create( array(62 self::$factory->comment->create( array( 63 63 'comment_approved' => 'trash' 64 64 ) ); … … 75 75 76 76 public function test_get_comment_count_post_trashed() { 77 $this->factory->comment->create( array(77 self::$factory->comment->create( array( 78 78 'comment_approved' => 'post-trashed' 79 79 ) );
Note: See TracChangeset
for help on using the changeset viewer.