Repository navigation
Commit d62baff
committed
Tests: Keep the test taxonomy available during term-parent fixture deletion.
`Tests_Terms_GetTermsParentsList` unregistered `wptests_tax` after each test, so the class teardown's `wp_delete_term()` calls ran after the taxonomy was gone and returned `false`. Remove the per-test unregister. The class teardown still unregisters the taxonomy after deleting both terms.
Follow-up to [65014].
Developed in: #15193
Props peterwilsoncc.
See #65893.
git-svn-id: https://develop.svn.wordpress.org/trunk@65288 602fd350-edb4-49c9-b593-d223f7449a821 parent 83e5061 commit d62baff
1 file changed
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 33 | | |
39 | 34 | | |
40 | 35 | | |
| |||
0 commit comments