Project

General

Profile

Patch #43428 » 0003-Fix-for-https-github.com-rails-rails-pull-53962.patch

Takashi Kato, 2025-11-02 02:10

View differences:

test/functional/issues_controller_test.rb
6984 6984
        :update,
6985 6985
        params: {
6986 6986
          id: private_issue.id,
6987
          issue: { assigned_to_id: nil },
6987
          issue: { assigned_to_id: '' },
6988 6988
          time_entry: {
6989 6989
            comments: "add spent time", activity_id: TimeEntryActivity.first.id, hours: 1
6990 6990
          }
test/functional/timelog_controller_test.rb
430 430
        },
431 431
        :continue => '1'
432 432
      }
433
      assert_redirected_to '/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=&time_entry%5Bproject_id%5D=1&time_entry%5Bspent_on%5D=2008-03-14'
433
      assert_redirected_to '/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D&time_entry%5Bproject_id%5D=1&time_entry%5Bspent_on%5D=2008-03-14'
434 434
    end
435 435
  end
436 436

  
......
464 464
        },
465 465
        :continue => '1'
466 466
      }
467
      assert_redirected_to '/projects/ecookbook/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=&time_entry%5Bproject_id%5D=1&time_entry%5Bspent_on%5D=2008-03-14'
467
      assert_redirected_to '/projects/ecookbook/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D&time_entry%5Bproject_id%5D=1&time_entry%5Bspent_on%5D=2008-03-14'
468 468
    end
469 469
  end
470 470

  
......
481 481
        },
482 482
        :continue => '1'
483 483
      }
484
      assert_redirected_to '/issues/1/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=1&time_entry%5Bproject_id%5D=&time_entry%5Bspent_on%5D=2008-03-14'
484
      assert_redirected_to '/issues/1/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=1&time_entry%5Bproject_id%5D&time_entry%5Bspent_on%5D=2008-03-14'
485 485
    end
486 486
  end
487 487

  
(3-3/3)