Project

General

Profile

Actions

Testing #2371

closed

undefined method `test_GET_/projects/:id.xml_should_return_the_project'

Added by liaham 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/29/2024
Due date:
08/29/2024
% Done:

100%

Estimated time:
Compatible Redmine Version:
5.1.z

Description

/home/liane-xmera/redmine/plugins/redmine_project_types/test/integration/patches/api_test/projects_test_patch.rb:24:in `instance_method': undefined method `test_GET_/projects/:id.xml_should_return_the_project' for class `Redmine::ApiTest::ProjectsTest' (NameError)

      original_test = instance_method(:'test_GET_/projects/:id.xml_should_return_the_project')
                      ^^^^^^^^^^^^^^^
        from /home/liane-xmera/redmine/plugins/redmine_project_types/test/integration/patches/api_test/projects_test_patch.rb:24:in `<class:ProjectsTest>'
        from /home/liane-xmera/redmine/plugins/redmine_project_types/test/integration/patches/api_test/projects_test_patch.rb:23:in `<module:ApiTest>'
        from /home/liane-xmera/redmine/plugins/redmine_project_types/test/integration/patches/api_test/projects_test_patch.rb:22:in `<module:Redmine>'
        from /home/liane-xmera/redmine/plugins/redmine_project_types/test/integration/patches/api_test/projects_test_patch.rb:21:in `<top (required)>'
        from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
        from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
        from /home/liane-xmera/redmine/gem_home/gems/zeitwerk-2.6.17/lib/zeitwerk/kernel.rb:34:in `require'
        from /home/liane-xmera/redmine/gem_home/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
        from /home/liane-xmera/redmine/gem_home/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:12:in `block (2 levels) in <main>'
        from /home/liane-xmera/redmine/gem_home/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:11:in `each'
        from /home/liane-xmera/redmine/gem_home/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:11:in `block in <main>'
        from /home/liane-xmera/redmine/gem_home/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in `select'
        from /home/liane-xmera/redmine/gem_home/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in `<main>'
Actions #1

Updated by liaham 7 months ago

  • Due date set to 08/29/2024
  • Status changed from New to Closed
  • % Done changed from 0 to 100

The problem was related to test bridge not the codebase.

Actions

Also available in: Atom PDF