Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jasonblewis/fbc06bb1400121dc15337d4796e52eae to your computer and use it in GitHub Desktop.
Save jasonblewis/fbc06bb1400121dc15337d4796e52eae to your computer and use it in GitHub Desktop.
No schemas are configured at
jason@quartz:~/projects/Reports$ DANCER_ENVIRONMENT=test prove -l t/002_index_route.t
t/002_index_route.t .. 1/10 # mech success: Test::WWW::Mechanize::PSGI=HASH(0x4694908)->success
# loc: http://localhost/
# base: http://localhost/
t/002_index_route.t .. 9/10 [Reports::API:7134] error @2016-05-09 13:46:59> Route exception: No schemas are configured at /home/jason/perl5/perlbrew/perls/perl-5.22.2/lib/site_perl/5.22.2/DBICx/Sugar.pm line 46. in /home/jason/perl5/perlbrew/perls/perl-5.22.2/lib/site_perl/5.22.2/Dancer2/Core/App.pm l. 1288
# Failed test 'GET http://localhost/api/accounts-receivable/customers/AKAGRO'
# at t/002_index_route.t line 109.
# 500
# Internal Server Error
[Reports::API:7134] error @2016-05-09 13:46:59> Route exception: No schemas are configured at /home/jason/perl5/perlbrew/perls/perl-5.22.2/lib/site_perl/5.22.2/DBICx/Sugar.pm line 46. in /home/jason/perl5/perlbrew/perls/perl-5.22.2/lib/site_perl/5.22.2/Dancer2/Core/App.pm l. 1288
# Failed test 'GET http://localhost/api/accounts-receivable/statement-email-addresses'
# at t/002_index_route.t line 109.
# 500
# Internal Server Error
[Reports::API:7134] error @2016-05-09 13:46:59> Route exception: No schemas are configured at /home/jason/perl5/perlbrew/perls/perl-5.22.2/lib/site_perl/5.22.2/DBICx/Sugar.pm line 46. in /home/jason/perl5/perlbrew/perls/perl-5.22.2/lib/site_perl/5.22.2/Dancer2/Core/App.pm l. 1288
# Failed test 'GET http://localhost/api/accounts-receivable/outstanding-invoices'
# at t/002_index_route.t line 109.
# 500
# Internal Server Error
[Reports::API:7134] error @2016-05-09 13:46:59> Route exception: No schemas are configured at /home/jason/perl5/perlbrew/perls/perl-5.22.2/lib/site_perl/5.22.2/DBICx/Sugar.pm line 46. in /home/jason/perl5/perlbrew/perls/perl-5.22.2/lib/site_perl/5.22.2/Dancer2/Core/App.pm l. 1288
# Failed test 'GET http://localhost/api/accounts-receivable/customers'
# at t/002_index_route.t line 109.
# 500
# Internal Server Error
# Looks like you failed 4 tests of 4.
# Failed test 'all api routes work'
# at t/002_index_route.t line 113.
# Looks like you failed 1 test of 10.
t/002_index_route.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/10 subtests
Test Summary Report
-------------------
t/002_index_route.t (Wstat: 256 Tests: 10 Failed: 1)
Failed test: 10
Non-zero exit status: 1
Files=1, Tests=10, 2 wallclock secs ( 0.03 usr 0.00 sys + 1.10 cusr 0.03 csys = 1.16 CPU)
Result: FAIL
jason@quartz:~/projects/Reports$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment