Subject: | MYAPP_CONFIG_LOCAL_SUFFIX is ignored with Catalyst::Test |
Reproduced with Strawberry Perl 5.10 on Windows and Perl 5.8.8 on Ubuntu.
use strict;
use warnings;
use Test::More tests => 3;
BEGIN {
$ENV{BOOKS_CONFIG_LOCAL_SUFFIX} = 'test';
use_ok 'Catalyst::Test', 'Books'; # ok
}
ok my ($res, $c) = ctx_request('/'), 'context object'; # ok
is $c->get_config_local_suffix, 'test'; # fails - the suffix is still
'local'