chore: ensure api post items for tests is the correct type

ref: #856
This commit is contained in:
2025-07-07 18:49:42 +09:30
parent 93642ee6a1
commit 97f99abe2c
2 changed files with 2 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

@ -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,
}