Add scoped tests

This commit is contained in:
Jake Barnby committed 2025-09-16 13:25:15 +12:00
1 parent 42d981c0ef
commit fb65d7a965
8 files changed
+80 -14

No files matched your search

@@ -3,19 +3,13 @@
namespace Tests\E2E\Services\Databases\Legacy\Transactions;
use Tests\E2E\Client;
use Tests\E2E\Scopes\ProjectCustom;
use Tests\E2E\Scopes\Scope;
use Tests\E2E\Scopes\SideClient;
use Utopia\Database\Helpers\ID;
use Utopia\Database\Helpers\Permission;
use Utopia\Database\Helpers\Role;
use Utopia\Database\Query;
class TransactionsTest extends Scope
trait TransactionsBase
{
use ProjectCustom;
use SideClient;
/**
* Test creating a transaction
*/
@@ -0,0 +1,13 @@
<?php
namespace Tests\E2E\Services\Databases\Legacy\Transactions;
use Tests\E2E\Scopes\ProjectCustom;
use Tests\E2E\Scopes\SideConsole;
class TransactionsConsoleClientTest
{
use TransactionsBase;
use ProjectCustom;
use SideConsole;
}
@@ -0,0 +1,13 @@
<?php
namespace Tests\E2E\Services\Databases\Legacy\Transactions;
use Tests\E2E\Scopes\ProjectCustom;
use Tests\E2E\Scopes\SideClient;
class TransactionsCustomClientTest
{
use TransactionsBase;
use ProjectCustom;
use SideClient;
}
@@ -0,0 +1,13 @@
<?php
namespace Tests\E2E\Services\Databases\Legacy\Transactions;
use Tests\E2E\Scopes\ProjectCustom;
use Tests\E2E\Scopes\SideServer;
class TransactionsCustomServerTest
{
use TransactionsBase;
use ProjectCustom;
use SideServer;
}
@@ -3,19 +3,13 @@
namespace Tests\E2E\Services\Databases\TablesDB\Transactions;
use Tests\E2E\Client;
use Tests\E2E\Scopes\ProjectCustom;
use Tests\E2E\Scopes\Scope;
use Tests\E2E\Scopes\SideClient;
use Utopia\Database\Helpers\ID;
use Utopia\Database\Helpers\Permission;
use Utopia\Database\Helpers\Role;
use Utopia\Database\Query;
class TransactionsTest extends Scope
trait TransactionsBase
{
use ProjectCustom;
use SideClient;
/**
* Test creating a transaction
*/
@@ -0,0 +1,13 @@
<?php
namespace Tests\E2E\Services\Databases\TablesDB\Transactions;
use Tests\E2E\Scopes\ProjectCustom;
use Tests\E2E\Scopes\SideConsole;
class TransactionsConsoleClientTest
{
use TransactionsBase;
use ProjectCustom;
use SideConsole;
}
@@ -0,0 +1,13 @@
<?php
namespace Tests\E2E\Services\Databases\TablesDB\Transactions;
use Tests\E2E\Scopes\ProjectCustom;
use Tests\E2E\Scopes\SideClient;
class TransactionsCustomClientTest
{
use TransactionsBase;
use ProjectCustom;
use SideClient;
}
@@ -0,0 +1,13 @@
<?php
namespace Tests\E2E\Services\Databases\TablesDB\Transactions;
use Tests\E2E\Scopes\ProjectCustom;
use Tests\E2E\Scopes\SideServer;
class TransactionsCustomServerTest
{
use TransactionsBase;
use ProjectCustom;
use SideServer;
}