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