preaction / Yancy

The Best Web Framework Deserves the Best Content Management System
http://preaction.me/yancy/
Other
54 stars 21 forks source link

No pass reports with Mojolicious 9.11+ #130

Closed eserte closed 3 years ago

eserte commented 3 years ago

t/controller/yancy.t fails on my smoker systems, probably if Mojolicious 9.11 or later is installed:

        #   Failed test '200 OK'
        #   at t/controller/yancy.t line 264.
        #          got: '404'
        #     expected: '200'

        #   Failed test 'exact match for selector "item:nth-of-type(1) title"'
        #   at t/controller/yancy.t line 264.
        #          got: ''
        #     expected: 'Second Post'
        # undef

        #   Failed test 'exact match for selector "item:nth-of-type(2) title"'
        #   at t/controller/yancy.t line 264.
        #          got: ''
        #     expected: 'First Post'
        # undef
        # Looks like you failed 3 tests of 4.

    #   Failed test 'list with non-html format'
    #   at t/controller/yancy.t line 265.
    # Looks like you failed 1 test of 15.

#   Failed test 'list'
#   at t/controller/yancy.t line 280.
# Looks like you failed 1 test of 8.
t/controller/yancy.t ......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests 

Statistical analysis:

****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.1030       9.71
[1='eq_9.01']        -0.1111          0.1139      -0.98
[2='eq_9.02']        -0.0820          0.1079      -0.76
[3='eq_9.03']        -0.0000          0.2060      -0.00
[4='eq_9.11']        -1.0000          0.1629      -6.14
[5='eq_9.13']        -1.0000          0.1174      -8.51

R^2= 0.691, N= 120, K= 6
****************************************************************
preaction commented 3 years ago

Fixed by merging #131. Thanks!