fixing test warnings, Storage should always return to the correct directory
This commit is contained in:
parent
f1ca6d93f8
commit
8533cf8ae8
3 changed files with 26 additions and 21 deletions
|
|
@ -21,9 +21,12 @@ use File::Spec;
|
|||
use Test::More;
|
||||
use Test::Deep;
|
||||
use Test::MockObject;
|
||||
use Cwd;
|
||||
|
||||
my $session = WebGUI::Test->session;
|
||||
|
||||
my $cwd = Cwd::cwd();
|
||||
|
||||
my ($extensionTests, $fileIconTests) = setupDataDrivenTests($session);
|
||||
|
||||
my $numTests = 82; # increment this value for each test you create
|
||||
|
|
@ -400,10 +403,7 @@ foreach my $iconTest (@{ $fileIconTests }) {
|
|||
#
|
||||
####################################################
|
||||
|
||||
TODO: {
|
||||
local $TODO = 'Write a test to ensure our CWD remains the same after all these calls to storage';
|
||||
ok(0,'CWD must remain the same after addFileFromFilesystem, tar, untar, etc...');
|
||||
};
|
||||
is($cwd, Cwd::cwd(), 'CWD must remain the same after addFileFromFilesystem, tar, untar, etc...');
|
||||
|
||||
####################################################
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue