Move Article.t over to using the new storage API for checking for storage location existance.
This commit is contained in:
parent
4a58f574b1
commit
f2b5f35d49
1 changed files with 1 additions and 6 deletions
|
|
@ -98,12 +98,7 @@ is ($duplicateFilename, $filename, "duplicate method copies collateral");
|
|||
$duplicateArticle->purge();
|
||||
|
||||
# The get method will create the directory if it doesnt exist... very strange.
|
||||
$duplicateStorage = WebGUI::Storage->get($session,$duplicateStorageId);
|
||||
|
||||
# so lets check for the file instead
|
||||
$duplicateFilename = $duplicateStorage->getFiles->[0];
|
||||
|
||||
is ($duplicateFilename, undef, 'purge method deletes collateral');
|
||||
ok (!WebGUI::Storage->storageExists($session, $duplicateStorageId), 'purge method deletes collateral');
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue