mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix skips
This commit is contained in:
@@ -230,7 +230,8 @@ class DatabasesCustomClientTest extends Scope
|
||||
{
|
||||
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('MongoDB is not supported for this test');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return;
|
||||
}
|
||||
|
||||
$database = $this->client->call(Client::METHOD_POST, '/databases', [
|
||||
@@ -325,7 +326,8 @@ class DatabasesCustomClientTest extends Scope
|
||||
{
|
||||
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('MongoDB is not supported for this test');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return;
|
||||
}
|
||||
|
||||
$database = $this->client->call(Client::METHOD_POST, '/databases', [
|
||||
@@ -488,7 +490,8 @@ class DatabasesCustomClientTest extends Scope
|
||||
{
|
||||
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('MongoDB is not supported for this test');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return;
|
||||
}
|
||||
|
||||
$userId = $this->getUser()['$id'];
|
||||
|
||||
@@ -3738,7 +3738,8 @@ class DatabasesCustomServerTest extends Scope
|
||||
public function testAttributeRenameRelationshipOneToMany()
|
||||
{
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('This test is not supported for MongoDB');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return;
|
||||
}
|
||||
|
||||
$databaseId = 'database1';
|
||||
@@ -3856,7 +3857,8 @@ class DatabasesCustomServerTest extends Scope
|
||||
public function testAttributeRenameRelationshipOneToOne()
|
||||
{
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('This test is not supported for MongoDB');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return;
|
||||
}
|
||||
|
||||
$databaseId = 'database1';
|
||||
@@ -3975,7 +3977,8 @@ class DatabasesCustomServerTest extends Scope
|
||||
{
|
||||
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('This test is not supported for MongoDB');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return;
|
||||
}
|
||||
|
||||
$databaseId = 'database1';
|
||||
@@ -4098,7 +4101,8 @@ class DatabasesCustomServerTest extends Scope
|
||||
{
|
||||
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('This test is not supported for MongoDB');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return;
|
||||
}
|
||||
|
||||
$databaseId = 'database1';
|
||||
|
||||
@@ -4904,9 +4904,9 @@ trait DatabasesBase
|
||||
*/
|
||||
public function testManyToOneRelationship(array $data): array
|
||||
{
|
||||
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('MongoDB is not supported for this test');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return $data;
|
||||
}
|
||||
|
||||
$databaseId = $data['databaseId'];
|
||||
@@ -5061,9 +5061,9 @@ trait DatabasesBase
|
||||
*/
|
||||
public function testManyToManyRelationship(array $data): array
|
||||
{
|
||||
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('MongoDB is not supported for this test');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return $data;
|
||||
}
|
||||
|
||||
$databaseId = $data['databaseId'];
|
||||
@@ -7192,9 +7192,9 @@ trait DatabasesBase
|
||||
*/
|
||||
public function testUpdateWithExistingRelationships(array $data): void
|
||||
{
|
||||
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('MongoDB is not supported for this test');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return;
|
||||
}
|
||||
|
||||
$databaseId = $data['databaseId'];
|
||||
@@ -7585,9 +7585,9 @@ trait DatabasesBase
|
||||
|
||||
public function testSpatialPointColumns(): void
|
||||
{
|
||||
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('MongoDB is not supported for this test');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return;
|
||||
}
|
||||
|
||||
$database = $this->client->call(Client::METHOD_POST, '/tablesdb', [
|
||||
@@ -7728,9 +7728,9 @@ trait DatabasesBase
|
||||
|
||||
public function testSpatialLineColumns(): void
|
||||
{
|
||||
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('MongoDB is not supported for this test');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return;
|
||||
}
|
||||
|
||||
$database = $this->client->call(Client::METHOD_POST, '/tablesdb', [
|
||||
@@ -7867,9 +7867,9 @@ trait DatabasesBase
|
||||
|
||||
public function testSpatialPolygonColumns(): void
|
||||
{
|
||||
|
||||
if ($this->isMongoDB()) {
|
||||
$this->markTestSkipped('MongoDB is not supported for this test');
|
||||
$this->expectNotToPerformAssertions();
|
||||
return;
|
||||
}
|
||||
|
||||
$database = $this->client->call(Client::METHOD_POST, '/tablesdb', [
|
||||
|
||||
@@ -2974,6 +2974,11 @@ class RealtimeCustomClientTest extends Scope
|
||||
|
||||
public function testRelationshipPayloadHidesRelatedDoc()
|
||||
{
|
||||
if ($this->isMongoDB()) {
|
||||
$this->expectNotToPerformAssertions();
|
||||
return;
|
||||
}
|
||||
|
||||
$user = $this->getUser();
|
||||
$session = $user['session'] ?? '';
|
||||
$projectId = $this->getProject()['$id'];
|
||||
|
||||
Reference in New Issue
Block a user