Skip to content

Commit

Permalink
Add tests for start thread and select category views
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalp committed Aug 7, 2024
1 parent 45bed61 commit 3d8c220
Show file tree
Hide file tree
Showing 6 changed files with 630 additions and 89 deletions.
6 changes: 3 additions & 3 deletions misago/posting/states/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ def set_thread_title(self, title: str):

@transaction.atomic()
def save(self):
self.save_action()

def save_action(self):
self.thread.save()
self.post.save()

self.save_action()

def save_action(self):
self.save_thread()
self.save_post()

Expand Down
Loading

0 comments on commit 3d8c220

Please sign in to comment.