Verified Commit 92f566f4 authored by Cyril Vazquez's avatar Cyril Vazquez
Browse files

Fix test on number of repositories on cluster

parent d42b5a4e
Pipeline #8999 failed with stage
......@@ -236,7 +236,7 @@ class cluster
}
}
if (is_array($cluster->clusterRepository) && !empty($cluster->clusterRepository)) {
if (is_array($cluster->clusterRepository) && empty($cluster->clusterRepository)) {
throw \laabs::newException("digitalResource/noClusterRepositoryException", "No repository for %s mode", 404, null, [$mode]);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment