Commit a3be97c
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 233e95e commit a3be97c
File tree
6 files changed
+2886
-431
lines changed- tests
6 files changed
+2886
-431
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 | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments