Repository navigation
Commit a1c01f1
committed
Tests: Clear the theme.json cache before each theme test.
The resolver caches outlive a test class, so the first test of a `WP_Theme_UnitTestCase` class could read theme.json data from the previous class. Clear them in `set_up()` as `tear_down()` already does.
See #66755.1 parent e9b0cd3 commit a1c01f1
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments