Skip to content
Snippets Groups Projects
Commit c77311b1 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-7189: Fix test url generator tests

parent d33097f9
No related branches found
No related tags found
1 merge request!83ISTWCMS-7160 Fix service content type in testAutomaticListBlocksSettings in...
......@@ -285,9 +285,11 @@ class WcmsTestsUrlAliasCest {
}
}
// Step through each of the nodes used and delete them.
foreach ($this->nodesUsed as $node) {
// Step through each of the nodes used and delete them
// as well as delete it from the nodes used array.
foreach ($this->nodesUsed as $title => $node) {
$node->delete();
unset($this->nodesUsed[$title]);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment