change some exportPath munging so we're not deleting the default export path
(PoLA)
This commit is contained in:
parent
a62990b03c
commit
29b31b74b9
1 changed files with 5 additions and 5 deletions
|
|
@ -226,9 +226,8 @@ is($isExportable, 1, "exportCheckExportable exportable asset, parent, grandparen
|
|||
#----------------------------------------------------------------------------
|
||||
# exportGetUrlAsPath()
|
||||
|
||||
# exportPath won't be changing any more, so store it.
|
||||
$config->set('exportPath', $originalExportPath);
|
||||
my $exportPath = $originalExportPath;
|
||||
# store the exportPath for future reference
|
||||
my $exportPath = $config->get('exportPath');
|
||||
|
||||
my $litmus;
|
||||
# start with something simple: export the root URL.
|
||||
|
|
@ -508,8 +507,9 @@ cmp_deeply(
|
|||
|
||||
|
||||
# now test that it works as it should, when it should
|
||||
$config->set('exportPath', $originalExportPath);
|
||||
$exportPath = Path::Class::Dir->new($originalExportPath);
|
||||
#$config->set('exportPath', $originalExportPath);
|
||||
#$exportPath = Path::Class::Dir->new($originalExportPath);
|
||||
$exportPath = $config->get('exportPath');
|
||||
my $extrasPath = $config->get('extrasPath');
|
||||
my $extrasUrl = $config->get('extrasURL');
|
||||
my $uploadsPath = $config->get('uploadsPath');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue