Opened 10 years ago
Closed 10 years ago
#30080 closed task (blessed) (fixed)
Consolidate, split, and organize current tests in ms-site group
Reported by: | jeremyfelt | Owned by: | jeremyfelt |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Networks and Sites | Keywords: | |
Focuses: | multisite | Cc: |
Attachments (3)
Change History (25)
#5
@
10 years ago
- Summary changed from Consolidate, split, and organize current tests in ms-sites group to Consolidate, split, and organize current tests in ms-site group
In testing wpmu_delete_blog
, we can cover several various scenarios: (so far)
- Test data in cache after a site is deleted with drop set to false.
- Test data in tables after a site is deleted with drop set to false.
- Test data in cache after a site is deleted with drop set to true.
- Test data in tables after a site is deleted with drop set to true.
- Test data in cache after the main site is deleted with drop set to true.
- Test data in tables after the main site is deleted with drop set to true.
- Test existence of upload directories after a site is deleted. See #30121
#6
@
10 years ago
30080-wmpu_delete_blog.diff, as misspelled as it is, covers the tests for everything in the above comment except for the existence of upload directories.
This starts heading down the road of explicit test names. Feedback is welcome!
#12
@
10 years ago
- Type changed from enhancement to task (blessed)
Not too much more to go on this ticket. I'll be hitting it pretty hard this weekend.
This ticket was mentioned in Slack in #core by jeremyfelt. View the logs.
10 years ago
This ticket was mentioned in Slack in #core by earnjam. View the logs.
10 years ago
#17
follow-up:
↓ 19
@
10 years ago
@jeremyfelt: Anything left you wanted to do here for 4.1 or should we just move this to Future Release to get it off the milestone?
#19
in reply to:
↑ 17
@
10 years ago
Replying to DrewAPicture:
@jeremyfelt: Anything left you wanted to do here for 4.1 or should we just move this to Future Release to get it off the milestone?
Almost there. I'll verify and close it out tonight.
In 30080.diff:
test_create_and_delete_blog()
intotest_created_site_details()
andtest_wpmu_delete_blog()
.test_created_site_details()
should only need one site.test_wpmu_delete_blog()
requires two sitestest_getters()
as the testing of everything except forget_blog_address_by_name()
is tested elsewhere.get_blog_address_by_name()
totest_created_site_details()