Merge pull request #856 from nofusscomputing/test-functional-get-working

This commit is contained in:
Jon
2025-07-07 21:24:30 +09:30
committed by GitHub
3 changed files with 12 additions and 2 deletions

View File

@ -97,7 +97,7 @@ class ViewSetBase:
self.add_data.update({
'organization': self.organization.id,
'opened_by': self.view_user
'opened_by': self.view_user.id
})

View File

@ -28,6 +28,16 @@ class GitGroupModelTestCases(
}
@pytest.mark.skip( reason = 'test must be as part of serializer and viewset tests, not model' )
def test_model_create_has_history_entry(self, model_contenttype, created_model, model):
"""Model Created
Ensure that the model when created, added a `create` Audit History
entry.
"""
pass
def test_model_create_with_parent_sets_tenancy(self, created_model, model):
"""Model Created

View File

@ -214,7 +214,7 @@ class ViewSetBase:
self.add_data = {
'enabled': True,
'organization': self.add_organization.id,
'software': self.software_add,
'software': self.software_add.id,
}