Actions
Patch #35975
closedAdd missing fixtures to UserTest
Patch #35975:
Add missing fixtures to UserTest
Description
I confirmed https://www.redmine.org/builds/logs/build_4.1-stable_sqlite3_ruby-2.6_173.html and the test failed. When I executed the tests in my local environment with the same seed value (--seed 8964), the following test failed.
% RAILS_ENV=test bundle exec rake db:migrate:reset % RAILS_ENV=test bundle exec rake test TESTOPTS="--seed 8964" (Test LDAP server not configured) Bazaar non ASCII output test cannot run on this environment. Encoding.locale_charmap: UTF-8 Skipping LDAP tests. Run options: --seed 8964 # Running: ........................................................................................................................................F Failure: UserTest#test_remove_custom_field_references_upon_destroy [test/unit/user_test.rb:1340]: #<Proc:0x00007ff4ddd7bdb8 test/unit/user_test.rb:1340 (lambda)> didn't change by -3. Expected: 4 Actual: 5 rails test test/unit/user_test.rb:1316 ............................................ Finished in 513.679501s, 10.3197 runs/s, 47.3311 assertions/s. 5301 runs, 24313 assertions, 1 failures, 0 errors, 8 skips You have skipped tests. Run with --verbose for details.
Files
Actions