1
0
Fork 0
mirror of synced 2024-09-20 03:17:30 +12:00
appwrite/tests/e2e/Services/VCS/VCSBase.php

18 lines
307 B
PHP
Raw Normal View History

2023-10-09 22:45:36 +13:00
<?php
namespace Tests\E2E\Services\VCS;
2024-04-02 00:02:47 +13:00
use Utopia\System\System;
2023-10-28 03:08:33 +13:00
2023-10-09 22:45:36 +13:00
trait VCSBase
{
2023-10-28 03:13:07 +13:00
protected function setUp(): void
{
parent::setUp();
2024-04-02 00:02:47 +13:00
if (System::getEnv('_APP_VCS_GITHUB_PRIVATE_KEY') === 'disabled') {
2023-10-28 03:13:07 +13:00
$this->markTestSkipped('VCS is not enabled.');
}
2023-10-28 03:08:33 +13:00
}
2023-10-09 22:45:36 +13:00
}