Closed eserte closed 5 years ago
Yes, i have the same issue, downgrading to 1.30
cpanm install Mojolicious::Plugin::OpenAPI@1.30
fixed the issue
Below is the log dump from the tests.
# Failed test 'valid loginUser'
# at t/body-validation.t line 30.
# got: '501'
# expected: '200'
# Failed test 'valid return'
# at t/body-validation.t line 31.
# got: undef
# expected: 'superman@example.com'
# Failed test 'only sent data to server once'
# at t/body-validation.t line 42.
# got: '0'
# expected: '1'
# Looks like you failed 3 tests of 10.
t/body-validation.t .........
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/10 subtests
# Failed test 'sync listPets'
# at t/client.t line 51.
# got: '501'
# expected: '200'
# Failed test 'one request'
# at t/client.t line 53.
# got: '0'
# expected: '1'
# Looks like you failed 2 tests of 25.
t/client.t ..................
Dubious, test returned 2 (wstat 512, 0x200) Failed 2/25 subtests t/command-local-with-ref.t .. skipped: [OpenAPI] Could not find route by name 'dummy'. at /home/node/perl5/perlbrew/perls/perl-5.24.3/lib/site_perl/5.24.3/Mojolicious/Plugin/OpenAPI.pm line 104.
Thanks for reporting in 👍
@dexteruk: What added value did your comment have..? Not sure if I missed out on anything or not...
Hi @jhthorsen
I will test it and let you know if there was any more problems.
Thanks for the quick fix.
Craig
The test suite fails on some of my smokers:
This seems to happen if Mojolicious::Plugin::OpenAPI 2.x is installed: