Skip to content

Commit

Permalink
💚 Force deterministic ordering to avoid test flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Dec 17, 2024
1 parent 9970b35 commit fd2a376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openforms/submissions/models/submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def get_co_signer(self) -> str:
def get_attachments(self) -> SubmissionFileAttachmentQuerySet:
from .submission_files import SubmissionFileAttachment

return SubmissionFileAttachment.objects.for_submission(self)
return SubmissionFileAttachment.objects.for_submission(self).order_by("pk")

@property
def attachments(self) -> SubmissionFileAttachmentQuerySet:
Expand Down

0 comments on commit fd2a376

Please sign in to comment.