Skip to content

Commit

Permalink
Merge pull request #15689 from opf/fix-another-issue-in-timing-tests
Browse files Browse the repository at this point in the history
Fix a flaky spec in tests for Bcf::Topics
  • Loading branch information
ulferts authored May 28, 2024
2 parents 41a1a95 + 7ec43b5 commit 370bed7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/bim/spec/requests/api/bcf/v2_1/topics_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ def expected_body_for_bcf_issue(
description: nil,
base: nil
)
work_package = base || issue.work_package
work_package = (base || issue.work_package).reload

{
guid: issue&.uuid,
Expand All @@ -603,9 +603,9 @@ def expected_body_for_bcf_issue(
due_date: due_date || base&.due_date,
stage: nil,
creation_author: creation_author_mail,
creation_date: work_package&.created_at&.iso8601(3),
creation_date: work_package&.created_at,
modified_author: modified_author_mail,
modified_date: work_package&.updated_at&.iso8601(3),
modified_date: work_package&.updated_at,
description: description || base&.description,
authorization: {
topic_status: [(base && base.status.name) || default_status.name],
Expand Down

0 comments on commit 370bed7

Please sign in to comment.