Changeset 40564 for trunk/tests/phpunit/tests/general/template.php
- Timestamp:
- 05/01/2017 08:34:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/general/template.php
r40543 r40564 76 76 */ 77 77 function test_has_site_icon_returns_true_when_called_for_other_site_with_site_icon_set() { 78 $this->skipWithoutMultisite();79 80 78 $blog_id = $this->factory->blog->create(); 81 79 switch_to_blog( $blog_id ); … … 92 90 */ 93 91 function test_has_site_icon_returns_false_when_called_for_other_site_without_site_icon_set() { 94 $this->skipWithoutMultisite();95 96 92 $blog_id = $this->factory->blog->create(); 97 93 … … 266 262 */ 267 263 function test_has_custom_logo_returns_true_when_called_for_other_site_with_custom_logo_set() { 268 $this->skipWithoutMultisite();269 270 264 $blog_id = $this->factory->blog->create(); 271 265 switch_to_blog( $blog_id ); … … 282 276 */ 283 277 function test_has_custom_logo_returns_false_when_called_for_other_site_without_custom_logo_set() { 284 $this->skipWithoutMultisite();285 286 278 $blog_id = $this->factory->blog->create(); 287 279 … … 312 304 */ 313 305 function test_get_custom_logo_returns_logo_when_called_for_other_site_with_custom_logo_set() { 314 $this->skipWithoutMultisite();315 316 306 $blog_id = $this->factory->blog->create(); 317 307 switch_to_blog( $blog_id ); … … 533 523 */ 534 524 function test_get_site_icon_url_preserves_switched_state() { 535 $this->skipWithoutMultisite();536 537 525 $blog_id = $this->factory->blog->create(); 538 526 switch_to_blog( $blog_id ); … … 554 542 */ 555 543 function test_has_custom_logo_preserves_switched_state() { 556 $this->skipWithoutMultisite();557 558 544 $blog_id = $this->factory->blog->create(); 559 545 switch_to_blog( $blog_id ); … … 575 561 */ 576 562 function test_get_custom_logo_preserves_switched_state() { 577 $this->skipWithoutMultisite();578 579 563 $blog_id = $this->factory->blog->create(); 580 564 switch_to_blog( $blog_id );
Note: See TracChangeset
for help on using the changeset viewer.