Project

General

Profile

Actions

Testing #3290

closed

Failed functional test with RM 6

Added by liaham 5 days ago. Updated 4 days ago.

Status:
Rejected
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Compatible Redmine Version:
6.0.z

Description

Progress: |=Capybara starting Puma...
* Version 6.6.0, codename: Return to Forever
* Min threads: 0, max threads: 4
* Listening on http://0.0.0.0:3434
 FAIL ProjectTypes::ProjectTypesControllerTest#test_should_delete_project_type_when_it_has_no_projects (7.14s)
        "ProjectType.masters.count" didn't change by -1, but by 0.
        Expected: 0
          Actual: 1
        plugins/redmine_project_types/test/functional/project_types_controller_test.rb:80:in `block in <class:ProjectTypesControllerTest>'

===============================================================================================================|

Finished in 39.04518s
141 tests, 596 assertions, 1 failures, 0 errors, 0 skips

Related issues 1 (0 open1 closed)

Related to Redmine Project Types Relations - Testing #3291: Failed functional test with RM 6Rejectedliaham

Actions
Actions #1

Updated by liaham 4 days ago

The error might occur due to changes in test environment w.r.t. active_job.queue_adapter.

Actions #2

Updated by liaham 4 days ago

Resetting config/environments/test.rb:

# Disable Async delivery
  config.active_job.queue_adapter = :inline

fixes the problem.

Actions #3

Updated by liaham 4 days ago

  • Status changed from New to Rejected
Actions #4

Updated by liaham 4 days ago

  • Related to Testing #3291: Failed functional test with RM 6 added
Actions

Also available in: Atom PDF