Project

General

Profile

Defect #41860 » wiki_controller_test-errors.txt

Go MAEDA, 2024-11-25 03:01

 
1

    
2
Run options: --seed 6276
3

    
4
# Running:
5

    
6
........................E
7

    
8
Error:
9
WikiControllerTest#test_diff:
10
FrozenError: can't modify frozen String: "This is a sample text for testing diffs\nLine added"
11
    app/models/wiki_content_version.rb:86:in `force_encoding'
12
    app/models/wiki_content_version.rb:86:in `text'
13
    app/models/wiki_diff.rb:26:in `initialize'
14
    app/models/wiki_page.rb:178:in `new'
15
    app/models/wiki_page.rb:178:in `diff'
16
    app/controllers/wiki_controller.rb:252:in `diff'
17
    lib/redmine/sudo_mode.rb:78:in `sudo_mode'
18
    test/functional/wiki_controller_test.rb:793:in `test_diff'
19

    
20
bin/rails test test/functional/wiki_controller_test.rb:784
21

    
22
.....E
23

    
24
Error:
25
WikiControllerTest#test_show_versioned_html:
26
ActionView::Template::Error: can't modify frozen String: "h1. CookBook documentation v2\n\n\nLine from v1\nSome updated [[documentation]] here..."
27
    app/models/wiki_content_version.rb:86:in `force_encoding'
28
    app/models/wiki_content_version.rb:86:in `text'
29
    app/helpers/application_helper.rb:902:in `textilizable'
30
    app/views/wiki/export.html.erb:19
31
    app/controllers/wiki_controller.rb:108:in `show'
32
    lib/redmine/sudo_mode.rb:78:in `sudo_mode'
33
    test/functional/wiki_controller_test.rb:1201:in `block in test_show_versioned_html'
34
    test/test_helper.rb:102:in `with_settings'
35
    test/functional/wiki_controller_test.rb:1199:in `test_show_versioned_html'
36

    
37
bin/rails test test/functional/wiki_controller_test.rb:1198
38

    
39
....E
40

    
41
Error:
42
WikiControllerTest#test_show_old_version_with_attachments:
43
ActionView::Template::Error: can't modify frozen String: "h1. Page with an inline image\n\nThis is an inline image:\n\n!logo.gif!"
44
    app/models/wiki_content_version.rb:86:in `force_encoding'
45
    app/models/wiki_content_version.rb:86:in `text'
46
    app/helpers/application_helper.rb:902:in `textilizable'
47
    app/views/wiki/_content.html.erb:2
48
    app/views/wiki/show.html.erb:62
49
    lib/redmine/sudo_mode.rb:78:in `sudo_mode'
50
    test/functional/wiki_controller_test.rb:89:in `test_show_old_version_with_attachments'
51

    
52
bin/rails test test/functional/wiki_controller_test.rb:82
53

    
54
E
55

    
56
Error:
57
WikiControllerTest#test_show_current_version_should_display_section_edit_links:
58
ActionView::Template::Error: can't modify frozen String: "h1. Title\n\nLorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas sed libero.\n\nh2. Heading 1\n\n@WHATEVER@\n\nMaecenas sed elit sit amet mi accumsan vestibulum non nec velit. Proin porta tincidunt lorem, consequat rhoncus dolor fermentum in.\n\nh2. Heading 2\n\nMorbi facilisis accumsan orci non pharetra."
59
    app/models/wiki_content_version.rb:86:in `force_encoding'
60
    app/models/wiki_content_version.rb:86:in `text'
61
    app/helpers/application_helper.rb:902:in `textilizable'
62
    app/views/wiki/_content.html.erb:2
63
    app/views/wiki/show.html.erb:62
64
    lib/redmine/sudo_mode.rb:78:in `sudo_mode'
65
    test/functional/wiki_controller_test.rb:178:in `block in test_show_current_version_should_display_section_edit_links'
66
    test/test_helper.rb:102:in `with_settings'
67
    test/functional/wiki_controller_test.rb:176:in `test_show_current_version_should_display_section_edit_links'
68

    
69
bin/rails test test/functional/wiki_controller_test.rb:175
70

    
71
..E
72

    
73
Error:
74
WikiControllerTest#test_show_versioned_txt:
75
FrozenError: can't modify frozen String: "h1. CookBook documentation v2\n\n\nLine from v1\nSome updated [[documentation]] here..."
76
    app/models/wiki_content_version.rb:86:in `force_encoding'
77
    app/models/wiki_content_version.rb:86:in `text'
78
    app/controllers/wiki_controller.rb:112:in `show'
79
    lib/redmine/sudo_mode.rb:78:in `sudo_mode'
80
    test/functional/wiki_controller_test.rb:1224:in `test_show_versioned_txt'
81

    
82
bin/rails test test/functional/wiki_controller_test.rb:1222
83

    
84
...E
85

    
86
Error:
87
WikiControllerTest#test_old_version_should_have_robot_exclusion_tag:
88
ActionView::Template::Error: can't modify frozen String: "h1. CookBook documentation v2\n\n\nLine from v1\nSome updated [[documentation]] here..."
89
    app/models/wiki_content_version.rb:86:in `force_encoding'
90
    app/models/wiki_content_version.rb:86:in `text'
91
    app/helpers/application_helper.rb:902:in `textilizable'
92
    app/views/wiki/_content.html.erb:2
93
    app/views/wiki/show.html.erb:62
94
    lib/redmine/sudo_mode.rb:78:in `sudo_mode'
95
    test/functional/wiki_controller_test.rb:1298:in `test_old_version_should_have_robot_exclusion_tag'
96

    
97
bin/rails test test/functional/wiki_controller_test.rb:1295
98

    
99
.................................E
100

    
101
Error:
102
WikiControllerTest#test_show_first_version:
103
ActionView::Template::Error: can't modify frozen String: "h1. CookBook documentation v1\n\n\nLine from v1\nSome [[documentation]] here..."
104
    app/models/wiki_content_version.rb:86:in `force_encoding'
105
    app/models/wiki_content_version.rb:86:in `text'
106
    app/helpers/application_helper.rb:902:in `textilizable'
107
    app/views/wiki/_content.html.erb:2
108
    app/views/wiki/show.html.erb:62
109
    lib/redmine/sudo_mode.rb:78:in `sudo_mode'
110
    test/functional/wiki_controller_test.rb:102:in `block in test_show_first_version'
111
    test/test_helper.rb:102:in `with_settings'
112
    test/functional/wiki_controller_test.rb:101:in `test_show_first_version'
113

    
114
bin/rails test test/functional/wiki_controller_test.rb:100
115

    
116
E
117

    
118
Error:
119
WikiControllerTest#test_show_old_version:
120
ActionView::Template::Error: can't modify frozen String: "h1. CookBook documentation v2\n\n\nLine from v1\nSome updated [[documentation]] here..."
121
    app/models/wiki_content_version.rb:86:in `force_encoding'
122
    app/models/wiki_content_version.rb:86:in `text'
123
    app/helpers/application_helper.rb:902:in `textilizable'
124
    app/views/wiki/_content.html.erb:2
125
    app/views/wiki/show.html.erb:62
126
    lib/redmine/sudo_mode.rb:78:in `sudo_mode'
127
    test/functional/wiki_controller_test.rb:73:in `block in test_show_old_version'
128
    test/test_helper.rb:102:in `with_settings'
129
    test/functional/wiki_controller_test.rb:72:in `test_show_old_version'
130

    
131
bin/rails test test/functional/wiki_controller_test.rb:71
132

    
133
..............E
134

    
135
Error:
136
WikiControllerTest#test_annotate:
137
FrozenError: can't modify frozen String: "h1. CookBook documentation v2\n\n\nLine from v1\nSome updated [[documentation]] here..."
138
    app/models/wiki_content_version.rb:86:in `force_encoding'
139
    app/models/wiki_content_version.rb:86:in `text'
140
    app/models/wiki_annotate.rb:26:in `initialize'
141
    app/models/wiki_page.rb:184:in `new'
142
    app/models/wiki_page.rb:184:in `annotate'
143
    app/controllers/wiki_controller.rb:257:in `annotate'
144
    lib/redmine/sudo_mode.rb:78:in `sudo_mode'
145
    test/functional/wiki_controller_test.rb:821:in `test_annotate'
146

    
147
bin/rails test test/functional/wiki_controller_test.rb:820
148

    
149
.E
150

    
151
Error:
152
WikiControllerTest#test_show_old_version_should_not_display_section_edit_links:
153
ActionView::Template::Error: can't modify frozen String: "h1. Title\n\nLorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas sed libero.\n\nh2. Heading 1\n\n@WHATEVER@\n\nMaecenas sed elit sit amet mi accumsan vestibulum non nec velit. Proin porta tincidunt lorem, consequat rhoncus dolor fermentum in.\n\nCras ipsum felis, ultrices at porttitor vel, faucibus eu nunc.\n\nh2. Heading 2\n\nMorbi facilisis accumsan orci non pharetra."
154
    app/models/wiki_content_version.rb:86:in `force_encoding'
155
    app/models/wiki_content_version.rb:86:in `text'
156
    app/helpers/application_helper.rb:902:in `textilizable'
157
    app/views/wiki/_content.html.erb:2
158
    app/views/wiki/show.html.erb:62
159
    lib/redmine/sudo_mode.rb:78:in `sudo_mode'
160
    test/functional/wiki_controller_test.rb:186:in `test_show_old_version_should_not_display_section_edit_links'
161

    
162
bin/rails test test/functional/wiki_controller_test.rb:184
163

    
164
..
165

    
166
Finished in 2.405388s, 40.7419 runs/s, 155.9000 assertions/s.
167
98 runs, 375 assertions, 0 failures, 10 errors, 0 skips
(2-2/2)