The handler package has no TestMain to initialize DB/fixtures, so the test panics on nil pointer deref when run via mage test:feature (which walks every package) even though it was hidden when running only mage test:web. DoCreate is already covered end-to-end by TestHumaLabel_Create_ReadOne_via_OAS31Route in pkg/webtests. |
||
|---|---|---|
| .. | ||
| core.go | ||
| create.go | ||
| delete.go | ||
| helper.go | ||
| read_all.go | ||
| read_one.go | ||
| update.go | ||