feat: remove irrelevant migration tests
This commit is contained in:
parent
f01d53526c
commit
c91abb5d60
|
@ -53,17 +53,6 @@ class MigrationV12Test extends MigrationTest
|
||||||
$this->assertEquals($document->getAttribute('search'), 'team Appwrite');
|
$this->assertEquals($document->getAttribute('search'), 'team Appwrite');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testMigrationFiles()
|
|
||||||
{
|
|
||||||
$document = $this->fixDocument(new Document([
|
|
||||||
'$id' => 'file',
|
|
||||||
'$collection' => 'files',
|
|
||||||
'name' => 'Dog.jpeg'
|
|
||||||
]));
|
|
||||||
|
|
||||||
$this->assertEquals($document->getAttribute('search'), 'file Dog.jpeg');
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testMigrationFunctions()
|
public function testMigrationFunctions()
|
||||||
{
|
{
|
||||||
$document = $this->fixDocument(new Document([
|
$document = $this->fixDocument(new Document([
|
||||||
|
@ -76,17 +65,6 @@ class MigrationV12Test extends MigrationTest
|
||||||
$this->assertEquals($document->getAttribute('search'), 'function My Function php-8.0');
|
$this->assertEquals($document->getAttribute('search'), 'function My Function php-8.0');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testMigrationTags()
|
|
||||||
{
|
|
||||||
$document = $this->fixDocument(new Document([
|
|
||||||
'$id' => 'tag',
|
|
||||||
'$collection' => 'tags',
|
|
||||||
'command' => 'php main.php'
|
|
||||||
]));
|
|
||||||
|
|
||||||
$this->assertEquals($document->getAttribute('search'), 'tag php main.php');
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testMigrationExecutions()
|
public function testMigrationExecutions()
|
||||||
{
|
{
|
||||||
$document = $this->fixDocument(new Document([
|
$document = $this->fixDocument(new Document([
|
||||||
|
|
Loading…
Reference in a new issue