Changeset 40564 for trunk/tests/phpunit/tests/user/query.php
- Timestamp:
- 05/01/2017 08:34:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/query.php
r40543 r40564 556 556 */ 557 557 public function test_roles_and_caps_should_be_populated_for_explicit_value_of_blog_id_on_nonms() { 558 $this->skipWithMultisite();559 560 558 $query = new WP_User_Query( array( 561 559 'include' => self::$author_ids[0], … … 575 573 */ 576 574 public function test_roles_and_caps_should_be_populated_for_explicit_value_of_current_blog_id_on_ms() { 577 $this->skipWithoutMultisite();578 579 575 $query = new WP_User_Query( array( 580 576 'include' => self::$author_ids[0], … … 594 590 */ 595 591 public function test_roles_and_caps_should_be_populated_for_explicit_value_of_different_blog_id_on_ms_when_fields_all_with_meta() { 596 $this->skipWithoutMultisite();597 598 592 $b = self::factory()->blog->create(); 599 593 … … 619 613 */ 620 614 public function test_roles_and_caps_should_be_populated_for_explicit_value_of_different_blog_id_on_ms_when_fields_all() { 621 $this->skipWithoutMultisite();622 623 615 $b = self::factory()->blog->create(); 624 616 add_user_to_blog( $b, self::$author_ids[0], 'author' ); … … 643 635 */ 644 636 public function test_who_authors() { 645 $this->skipWithoutMultisite();646 647 637 $b = self::factory()->blog->create(); 648 638 … … 668 658 */ 669 659 public function test_who_authors_should_work_alongside_meta_query() { 670 $this->skipWithoutMultisite();671 672 660 $b = self::factory()->blog->create(); 673 661 … … 702 690 */ 703 691 public function test_who_authors_should_work_alongside_meta_params() { 704 $this->skipWithoutMultisite();705 706 692 $b = self::factory()->blog->create(); 707 693 … … 794 780 */ 795 781 public function test_has_published_posts_should_respect_blog_id() { 796 $this->skipWithoutMultisite();797 798 782 $blogs = self::factory()->blog->create_many( 2 ); 799 783 … … 1360 1344 */ 1361 1345 public function test_blog_id_should_restrict_by_blog_without_requiring_a_named_role() { 1362 $this->skipWithoutMultisite();1363 1364 1346 $sites = self::factory()->blog->create_many( 2 ); 1365 1347 … … 1381 1363 */ 1382 1364 public function test_calling_prepare_query_a_second_time_should_not_add_another_cap_query_on_multisite() { 1383 $this->skipWithoutMultisite();1384 1385 1365 $site_id = get_current_blog_id(); 1386 1366 add_user_to_blog( $site_id, self::$author_ids[0], 'author' );
Note: See TracChangeset
for help on using the changeset viewer.