1
0
Fork 0
mirror of synced 2024-08-27 08:02:22 +12:00
appwrite/tests/e2e/Services/VCS/VCSBase.php

18 lines
294 B
PHP
Raw Normal View History

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
}