]> git.openstreetmap.org Git - rails.git/commit
Removes first comment body from notes tests
authorNenad Vujicic <nenadus@gmail.com>
Tue, 4 Mar 2025 15:12:14 +0000 (16:12 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 5 Mar 2025 19:01:03 +0000 (19:01 +0000)
commitcc6bfb2c7c4ee671e96f92a17b34583ee904afbd
treeeda6bc1ae590e95442481d254b88793c297af71e
parent047e972b2d448ade83382c0f824cb6e123b9bacb
Removes first comment body from notes tests

Improves notes unit tests by replacing checking with first comment's body with checking with default / user-specified descriptions. Also, removes test_author unit test, adds setting note's author when checking notification's success and sets first comment type to "opened" in tests with tooltips which require first comment to be "opened".
test/controllers/api/notes_controller_test.rb
test/models/issue_test.rb
test/models/note_test.rb
test/system/index_test.rb
test/system/note_layer_test.rb
test/system/report_note_test.rb