Commit b093525
committed
test(fields): add PHPUnit test suite for plugin
• New phpunit.xml and bootstrap for the Fields plugin
• PluginFieldsContainerTest covers:
- Creating / reading containers
- Filtering containers by entity, subtype, recursion
- Hooks: preItem, postItemAdd, preItemUpdate
- populateData (single + multi-dropdown)
- showForTab rendering and rights checks1 parent 3555e97 commit b093525
File tree
6 files changed
+2236
-211
lines changed- tests
6 files changed
+2236
-211
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments