fix for a test to reflect that exportGetUrlAsPath now calls exportCheckPath
This commit is contained in:
parent
0830985e2b
commit
9e8ecd20d7
1 changed files with 5 additions and 1 deletions
|
|
@ -381,7 +381,11 @@ cmp_deeply(
|
|||
);
|
||||
|
||||
# the exception was thrown, but make sure that the file also wasn't written
|
||||
ok(!-e $home->exportGetUrlAsPath->absolute->stringify, "exportWriteFile does not write the file when it can't create the exportPath");
|
||||
# can't call exportGetUrlAsPath on $home right now, since the path is
|
||||
# inaccessible and exportGetUrlAsPath calls exportCheckPath which throws an
|
||||
# exception. therefore, specify this single specific case specifically for the
|
||||
# sake of the test.
|
||||
ok(!-e Path::Class::File->new($unwritablePath, 'home', 'index.html')->absolute->stringify, "exportWriteFile does not write the file when it can't create the exportPath");
|
||||
|
||||
# let's go a level deeper
|
||||
# but reset the exportPath first
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue