test(core): Remaining Unit Model Test Cases for CenturionAuditMeta Model

ref: #772 #759
This commit is contained in:
2025-05-25 04:42:55 +09:30
parent da3a471d04
commit db41c73300
3 changed files with 92 additions and 18 deletions

View File

@ -47,6 +47,8 @@ When creating models they must meet the following requirements:
- No `queryset` is to return data that the user has not got access to.
- Model Exceptions must be from `django.core.exceptions`
!!! tip
It's a good idea to create the initial model class, then create and add the model tests for that class. This way you can run the tests to ensure that the requirements are met. Of Note, the tests may not cover ALL of the requirements section, due diligence will need to be exercised.