Update label.t to pull the lib directory from WebGUI::Test
Set correct package name in i18n file.
This commit is contained in:
parent
b1fc8adc15
commit
9f4b73a946
2 changed files with 5 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
package WebGUI::i18n::English::Workflow_Activity_CleanTempStorage;
|
||||
package WebGUI::i18n::English::Workflow_Activity_CleanFileCache;
|
||||
|
||||
our $I18N = {
|
||||
'size limit help' => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
use FindBin;
|
||||
use strict;
|
||||
use lib "$FindBin::Bin/../lib";
|
||||
use lib "$FindBin::Bin/../lib"; ##t/lib
|
||||
|
||||
use WebGUI::Test;
|
||||
use WebGUI::Operation::Help;
|
||||
|
|
@ -27,6 +27,7 @@ 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
|
||||
|
||||
|
|
@ -75,10 +76,10 @@ diag("Getting Help labels");
|
|||
#@sqlLabels = getSQLLabels();
|
||||
|
||||
diag("Getting subroutine labels");
|
||||
find(\&label_finder_pm, '../../lib/');
|
||||
find(\&label_finder_pm, $lib);
|
||||
|
||||
diag("Getting object labels");
|
||||
find(\&obj_finder_pm, '../../lib/');
|
||||
find(\&obj_finder_pm, $lib);
|
||||
|
||||
diag ("Checking ". scalar(@helpLabels). " help labels");
|
||||
#diag ("Checking ". scalar(@sqlLabels). " SQL labels");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue