Project

General

Profile

Actions

Testing #2796

closed

[PostgreSQL]: Several failing integration tests w.r.t. attachments

Added by liaham 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
01/08/2025
Due date:
01/09/2025
% Done:

100%

Estimated time:
Compatible Redmine Version:
5.1.z

Description

 FAIL Redmine::ApiTest::AttachmentsTest#test_GET_/attachments/:id.xml_for_image_should_include_thumbnail_url (3.25s)
        Expected response to be a <2XX: success>, but was a <404: Not Found>
        Response body: 
        test/integration/api_test/attachments_test.rb:55:in `block in <class:AttachmentsTest>'

 FAIL Redmine::ApiTest::AttachmentsTest#test_GET_/attachments/thumbnail/:id_should_return_the_thumbnail (3.43s)
        Expected response to be a <2XX: success>, but was a <404: Not Found>
        test/integration/api_test/attachments_test.rb:81:in `block in <class:AttachmentsTest>'

 FAIL AttachmentsTest#test_download_should_set_sendfile_header (30.00s)
        Expected response to be a <2XX: success>, but was a <404: Not Found>
        test/integration/attachments_test.rb:225:in `test_download_should_set_sendfile_header'
Actions #1

Updated by liaham 3 months ago

  • Assignee set to liaham
Actions #2

Updated by liaham 3 months ago

  • Due date set to 01/09/2025
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Tested starting with a plain Redmine instance and added plugins and other changes successively. No problems detected. Recreated the dev build for xmera Omnia. A further test run through all test except plugin tests were running successfully!

No clue what the problem was here!

Actions

Also available in: Atom PDF