Repository navigation
Commit bb3b81b
committed
Tests: Remove
`@runInSeparateProcess` reruns `tests/phpunit/includes/bootstrap.php`,
which deletes all posts, which changes the conditions of the test.
In particular, `test_disable_sitemap_should_return_404()` is supposed to
test what happens if sitemaps are disabled, not what happens when there
are no posts in the sitemap.@runInSeparateProcess from tests in Tests_Sitemaps_Sitemaps
1 parent 971e12a commit bb3b81b
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | | - | |
468 | | - | |
469 | 467 | | |
470 | 468 | | |
471 | 469 | | |
472 | 470 | | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
473 | 475 | | |
474 | 476 | | |
475 | | - | |
| 477 | + | |
476 | 478 | | |
477 | 479 | | |
478 | 480 | | |
| |||
481 | 483 | | |
482 | 484 | | |
483 | 485 | | |
484 | | - | |
485 | | - | |
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| |||
0 commit comments