mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
rename tests for better categorization
This commit is contained in:
1 parent
956adbf4f9
commit
f9876aba8f
6 files changed
+15
-15
No files matched your search
@@ -160,9 +160,8 @@ _APP_VCS_GITEA_BROWSER_ENDPOINT=http://localhost:9515
|
||||
_APP_VCS_GITEA_CLIENT_ID=
|
||||
_APP_VCS_GITEA_CLIENT_SECRET=
|
||||
_APP_VCS_GITEA_WEBHOOK_SECRET=gitea-webhook-secret
|
||||
_APP_VCS_WEBHOOK_URL=http://appwrite/v1
|
||||
_APP_VCS_GITLAB_CLIENT_ID=
|
||||
_APP_VCS_GITLAB_CLIENT_SECRET=
|
||||
_APP_VCS_GITLAB_WEBHOOK_SECRET=
|
||||
_APP_VCS_WEBHOOK_URL=
|
||||
_APP_VCS_WEBHOOK_URL=http://appwrite/v1
|
||||
_APP_WEBHOOK_MAX_FAILED_ATTEMPTS=10
|
||||
@@ -214,7 +214,8 @@ jobs:
|
||||
{ name: 'Users', runner: runner4, functional: true, processes: null },
|
||||
{ name: 'ProjectWebhooks', runner: runner4, functional: false, processes: null },
|
||||
{ name: 'Webhooks', runner: runner4, functional: true, processes: null },
|
||||
{ name: 'VCS', runner: runner4, functional: true, processes: null },
|
||||
{ name: 'VCSGitHub', runner: runner4, functional: true, processes: null },
|
||||
{ name: 'VCSGitea', runner: runner4, functional: true, processes: null },
|
||||
{ name: 'Messaging', runner: runner4, functional: true, processes: null },
|
||||
{ name: 'Notifications', runner: runner4, functional: true, processes: null },
|
||||
{ name: 'Migrations', runner: runner4, functional: true, processes: 1 },
|
||||
@@ -452,7 +453,7 @@ jobs:
|
||||
fi
|
||||
|
||||
# Gitea runs alongside Appwrite only where VCS tests need it.
|
||||
if [ "${{ matrix.service.name }}" = "VCS" ]; then
|
||||
if [ "${{ matrix.service.name }}" = "VCSGitea" ]; then
|
||||
COMPOSE_PROFILES="${COMPOSE_PROFILES},gitea"
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\E2E\Services\VCS;
|
||||
namespace Tests\E2E\Services\VCSGitHub;
|
||||
|
||||
use Utopia\System\System;
|
||||
|
||||
trait VCSBase
|
||||
trait VCSGitHubBase
|
||||
{
|
||||
protected function setUp(): void
|
||||
{
|
||||
+3
-3
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\E2E\Services\VCS;
|
||||
namespace Tests\E2E\Services\VCSGitHub;
|
||||
|
||||
use Tests\E2E\Client;
|
||||
use Tests\E2E\Scopes\ProjectCustom;
|
||||
@@ -16,9 +16,9 @@ use Utopia\Database\Query;
|
||||
use Utopia\System\System;
|
||||
use Utopia\VCS\Adapter\Git\GitHub;
|
||||
|
||||
final class VCSConsoleClientTest extends Scope
|
||||
final class VCSGitHubConsoleClientTest extends Scope
|
||||
{
|
||||
use VCSBase;
|
||||
use VCSGitHubBase;
|
||||
use ProjectCustom;
|
||||
use SideConsole;
|
||||
|
||||
+3
-3
@@ -2,16 +2,16 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\E2E\Services\VCS;
|
||||
namespace Tests\E2E\Services\VCSGitHub;
|
||||
|
||||
use Tests\E2E\Client;
|
||||
use Tests\E2E\Scopes\ProjectCustom;
|
||||
use Tests\E2E\Scopes\Scope;
|
||||
use Tests\E2E\Scopes\SideClient;
|
||||
|
||||
final class VCSCustomClientTest extends Scope
|
||||
final class VCSGitHubCustomClientTest extends Scope
|
||||
{
|
||||
use VCSBase;
|
||||
use VCSGitHubBase;
|
||||
use ProjectCustom;
|
||||
use SideClient;
|
||||
|
||||
+3
-3
@@ -2,16 +2,16 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\E2E\Services\VCS;
|
||||
namespace Tests\E2E\Services\VCSGitHub;
|
||||
|
||||
use Tests\E2E\Client;
|
||||
use Tests\E2E\Scopes\ProjectCustom;
|
||||
use Tests\E2E\Scopes\Scope;
|
||||
use Tests\E2E\Scopes\SideServer;
|
||||
|
||||
final class VCSCustomServerTest extends Scope
|
||||
final class VCSGitHubCustomServerTest extends Scope
|
||||
{
|
||||
use VCSBase;
|
||||
use VCSGitHubBase;
|
||||
use ProjectCustom;
|
||||
use SideServer;
|
||||
|
||||
Reference in new issue
Block a user