test adjustments for WebGUI::Paths
This commit is contained in:
parent
65e858ff4d
commit
7afda00d9b
26 changed files with 127 additions and 132 deletions
|
|
@ -25,7 +25,6 @@ use Test::More; # increment this value for each test you create
|
|||
my $numTests = 0;
|
||||
|
||||
my $session = WebGUI::Test->session;
|
||||
my $lib = WebGUI::Test->lib;
|
||||
|
||||
# put your tests here
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,6 @@ if ($@) {
|
|||
# Init
|
||||
my $session = WebGUI::Test->session;
|
||||
|
||||
my $label_profile = Path::Class::File->new( WebGUI::Test->root , 't', 'i18n', 'perlcriticrc');
|
||||
my $label_profile = Path::Class::File->new( $FindBin::Bin )->parent->file('i18n', 'perlcriticrc');
|
||||
Test::Perl::Critic->import(-profile => $label_profile->stringify);
|
||||
all_critic_ok(WebGUI::Test->lib);
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ use Test::More; # increment this value for each test you create
|
|||
my $numTests = 0;
|
||||
|
||||
my $session = WebGUI::Test->session;
|
||||
my $lib = WebGUI::Test->lib;
|
||||
|
||||
## Remove all macros but International, and set them to call WebGUI::Macro::Callback
|
||||
my $originalMacros = $session->config->get('macros');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue