Defect #30054

Add missing fixtures for test_create_with_one_attachment

Added by Go MAEDA 6 months ago. Updated 6 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Code cleanup/refactoring
Target version:4.0.0
Resolution:Fixed Affected version:

Description

This issue is extracted from #29990#note-3, originally reported by Marius BALTEANU.


root@45ec3a6558b0:/work# ruby test/functional/documents_controller_test.rb 
DEPRECATION WARNING: `secrets.secret_token` is deprecated in favor of `secret_key_base` and will be removed in Rails 6.0. (called from <top (required)> at /work/config/environment.rb:14)
Run options: --seed 39471

# Running:

...........F

Failure:
DocumentsControllerTest#test_create_with_one_attachment [test/functional/documents_controller_test.rb:135]:
Expected: 2
  Actual: 1

bin/rails test test/functional/documents_controller_test.rb:109

...

Finished in 1.231643s, 12.1788 runs/s, 34.9127 assertions/s.
15 runs, 43 assertions, 1 failures, 0 errors, 0 skips

add_missing_fixtures_to_documents.patch Magnifier (817 Bytes) Marius BALTEANU, 2018-11-18 19:24


Related issues

Copied from Redmine - Defect #29990: Add missing fixtures for test_create_should_send_notifica... Closed

Associated revisions

Revision 17649
Added by Go MAEDA 6 months ago

Add missing fixtures for test_create_with_one_attachment (#30054).

Patch by Marius BALTEANU.

History

#1 Updated by Go MAEDA 6 months ago

  • Copied from Defect #29990: Add missing fixtures for test_create_should_send_notification added

#2 Updated by Go MAEDA 6 months ago

  • File deleted (add_missing_fixtures.patch)

#3 Updated by Go MAEDA 6 months ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Target version changed from 4.1.0 to 4.0.0
  • Resolution set to Fixed

Committed.

Also available in: Atom PDF