Repository navigation
Commit d534f36
committed
Tests: Clean up taxonomies in term lookup and count tests.
Unregister custom taxonomies during teardown in the `get_term_by()` and term-count tests. Preserve parent cleanup and prevent test-owned registrations from leaking into later tests.
Developed in: #15043, #15044
Props rejaulalomkhan, mukeshpanchal27.
See #65893.
git-svn-id: https://develop.svn.wordpress.org/trunk@65015 602fd350-edb4-49c9-b593-d223f7449a821 parent 57c66f0 commit d534f36
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| |||
0 commit comments