Skip to content
Extraits de code Groupes Projets
Valider 258584ff rédigé par Matthieu Napoli's avatar Matthieu Napoli
Parcourir les fichiers

Skip integration tests if they are not supported on this OS

parent 0b8c00b6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -26,11 +26,20 @@ class SharedSiteIdsTest extends IntegrationTestCase
{
parent::setUp();
if (! SharedSiteIds::isSupported()) {
$this->markTestSkipped('Not supported on this platform');
return;
}
$this->sharedSiteIds = new SharedSiteIds(array(1,2,5,9));
}
public function tearDown()
{
if (! SharedSiteIds::isSupported()) {
return;
}
$siteIdsToCleanup = new SharedSiteIds(array());
$siteIdsToCleanup->setSiteIdsToArchive(array());
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter