test: skip spaces that are marked as deleted
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
This commit is contained in:
1 file changed
+1
-1
@@ -250,7 +250,7 @@ class SpacesContext implements Context {
|
||||
}
|
||||
}
|
||||
foreach ($spaces as $space) {
|
||||
if ($space->name === $spaceName) {
|
||||
if ($space->name === $spaceName && !isset($space->root->deleted)) {
|
||||
$found = true;
|
||||
$foundSpace = $space;
|
||||
if ($space->driveType === "project") {
|
||||
|
||||
Reference in new issue
Block a user