feat(assistance): Ensure Knowledge Base Category cant assign self as parent category

ref: #15 #248 #352
This commit is contained in:
2024-10-16 11:46:32 +09:30
parent 9278668e58
commit 47d5e40315
3 changed files with 40 additions and 3 deletions

View File

@ -107,12 +107,13 @@ example file system structure showing the layout of the tests directory for a mo
│   └── unit
│   ├── __init__.py
│   └── <model name>
│      ├── test_<model name>.py
│      ├── test_<model name>_api.py
│      ├── test_<model name>_permission_api.py
│      ├── test_<model name>_permission.py
│      ├── test_<model name>_core_history.py
│      ├── test_<model name>_history_permission.py
│      ├── test_<model name>.py
│      ├── test_<model name>_permission_api.py
│      ├── test_<model name>_permission.py
│      ├── test_<model name>_serializer.py
│      └── test_<model name>_viewsets.py
```
@ -159,6 +160,8 @@ Items to test include, and are not limited to:
_Field(s) exists, Type is checked_
- Serializer Validations
## Running Tests