Changeset 52010 for trunk/tests/phpunit/tests/comment/query.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/query.php
r51462 r52010 1285 1285 } 1286 1286 1287 function test_get_comments_for_post() {1287 public function test_get_comments_for_post() { 1288 1288 $limit = 5; 1289 1289 … … 1345 1345 * @ticket 21003 1346 1346 */ 1347 function test_orderby_meta() {1347 public function test_orderby_meta() { 1348 1348 $comment_id = self::factory()->comment->create( array( 'comment_post_ID' => self::$post_id ) ); 1349 1349 $comment_id2 = self::factory()->comment->create( array( 'comment_post_ID' => self::$post_id ) ); … … 1597 1597 * @ticket 27064 1598 1598 */ 1599 function test_get_comments_by_user() {1599 public function test_get_comments_by_user() { 1600 1600 $users = self::factory()->user->create_many( 2 ); 1601 1601 self::factory()->comment->create( … … 1690 1690 * @ticket 28434 1691 1691 */ 1692 function test_fields_ids_query() {1692 public function test_fields_ids_query() { 1693 1693 $comment_1 = self::factory()->comment->create( 1694 1694 array( … … 1726 1726 * @ticket 29189 1727 1727 */ 1728 function test_fields_comment__in() {1728 public function test_fields_comment__in() { 1729 1729 $comment_1 = self::factory()->comment->create( 1730 1730 array( … … 1762 1762 * @ticket 29189 1763 1763 */ 1764 function test_fields_comment__not_in() {1764 public function test_fields_comment__not_in() { 1765 1765 $comment_1 = self::factory()->comment->create( 1766 1766 array( … … 1798 1798 * @ticket 29189 1799 1799 */ 1800 function test_fields_post__in() {1800 public function test_fields_post__in() { 1801 1801 $p1 = self::factory()->post->create(); 1802 1802 $p2 = self::factory()->post->create(); … … 1838 1838 * @ticket 29189 1839 1839 */ 1840 function test_fields_post__not_in() {1840 public function test_fields_post__not_in() { 1841 1841 $p1 = self::factory()->post->create(); 1842 1842 $p2 = self::factory()->post->create(); … … 1878 1878 * @ticket 29885 1879 1879 */ 1880 function test_fields_post_author__in() {1880 public function test_fields_post_author__in() { 1881 1881 $author_id1 = 105; 1882 1882 $author_id2 = 106; … … 1921 1921 * @ticket 29885 1922 1922 */ 1923 function test_fields_post_author__not_in() {1923 public function test_fields_post_author__not_in() { 1924 1924 $author_id1 = 111; 1925 1925 $author_id2 = 112; … … 1964 1964 * @ticket 29885 1965 1965 */ 1966 function test_fields_author__in() {1966 public function test_fields_author__in() { 1967 1967 $p1 = self::factory()->post->create(); 1968 1968 $p2 = self::factory()->post->create(); … … 2012 2012 * @ticket 29885 2013 2013 */ 2014 function test_fields_author__not_in() {2014 public function test_fields_author__not_in() { 2015 2015 $p1 = self::factory()->post->create(); 2016 2016 $p2 = self::factory()->post->create();
Note: See TracChangeset
for help on using the changeset viewer.