Project

General

Profile

Actions

Testing #1221

closed

Patch several WelcomeController tests

Added by liaham over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Compatible Redmine Version:

Description

FAIL WelcomeControllerTest#test_index (185.25s)
        <Home1 » unset> expected but was
        <Home1>..
        Expected 0 to be >= 1.
        plugins/redmine_dashboards/test/functional/patches/welcome_controller_test_patch.rb:25:in `block in <class:WelcomeControllerTest>'

 FAIL WelcomeControllerTest#test_unhautorized_exception_with_anonymous_should_redirect_to_login (185.55s)
        Expected response to be a <302: Found>, but was a <403: Forbidden>.
        Expected: 302
          Actual: 403
        test/functional/welcome_controller_test.rb:176:in `test_unhautorized_exception_with_anonymous_should_redirect_to_login'

 FAIL WelcomeControllerTest#test_unhautorized_exception_with_anonymous_and_xmlhttprequest_should_respond_with_401_to_anonymous (185.57s)
        Expected response to be a <401: Unauthorized>, but was a <403: Forbidden>
        Response body: .
        Expected: 401
          Actual: 403
        test/functional/welcome_controller_test.rb:185:in `test_unhautorized_exception_with_anonymous_and_xmlhttprequest_should_respond_with_401_to_anonymous'

 FAIL WelcomeControllerTest#test_warn_on_leaving_unsaved_turn_off (185.97s)
        Expected exactly 0 elements matching "script", found 1..
        Expected: 0
          Actual: 1
        test/functional/welcome_controller_test.rb:99:in `test_warn_on_leaving_unsaved_turn_off'
Actions #1

Updated by liaham over 2 years ago

  • Status changed from New to Closed
  • Assignee set to liaham
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF