test(access): Team Note Model Check object requires org

ref: #525 #527
This commit is contained in:
2025-02-09 20:01:14 +09:30
parent b17bc5af75
commit 51e7f875a2

View File

@ -30,6 +30,7 @@ class TeamNotesModel(
model = str(self.model.model.field.related_model.__name__).replace(' ', '').lower(),
),
model = self.model.model.field.related_model.objects.create(
organization = self.organization,
name = 'note model existing item',
),
created_by = self.user,