test: skip spaces that are marked as deleted

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
This commit is contained in:
Saw-jan committed 2025-02-24 13:02:28 +05:45
1 parent 63ca1a172c
commit 07d2cfb3a3
1 file changed
+1 -1
+1 -1
View File
@@ -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") {