Project

General

Profile

Defect #41860 » wiki_content_version_test-errors.txt

Go MAEDA, 2024-11-25 03:00

 
1

    
2
Run options: --seed 44194
3

    
4
# Running:
5

    
6
.E
7

    
8
Error:
9
WikiContentVersionTest#test_destroy_last_version_should_revert_content:
10
FrozenError: can't modify frozen String: "h1. CookBook documentation v2\n\n\nLine from v1\nSome updated [[documentation]] here..."
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_content.rb:77:in `revert_to!'
14
    app/models/wiki_content_version.rb:127:in `page_update_after_destroy'
15
    test/unit/wiki_content_version_test.rb:48:in `block (3 levels) in test_destroy_last_version_should_revert_content'
16
    test/unit/wiki_content_version_test.rb:47:in `block (2 levels) in test_destroy_last_version_should_revert_content'
17
    test/unit/wiki_content_version_test.rb:46:in `block in test_destroy_last_version_should_revert_content'
18
    test/unit/wiki_content_version_test.rb:45:in `test_destroy_last_version_should_revert_content'
19

    
20
bin/rails test test/unit/wiki_content_version_test.rb:42
21

    
22
..
23

    
24
Finished in 0.071365s, 56.0499 runs/s, 154.1372 assertions/s.
25
4 runs, 11 assertions, 0 failures, 1 errors, 0 skips
(1-1/2)