Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Jul 25, 2024
1 parent ddd9374 commit 7251c0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/collective/feedback/tests/test_feedbacks_get.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ def add_record(self, date=None, vote="", uid="", comment="", title=""):
if title:
record.attrs["title"] = title

id = soup.add(record)

transaction.commit()

return soup.add(record)
return id

def setUp(self):
self.app = self.layer["app"]
Expand Down

0 comments on commit 7251c0a

Please sign in to comment.