This commit is contained in:
Matthias Gutjahr 2021-10-18 10:36:22 +02:00 committed by thrillfall
parent 1a3e385387
commit cba5bd97c3
4 changed files with 5 additions and 6 deletions

View File

@ -14,7 +14,7 @@ trait DatabaseTransaction {
$db->beginTransaction();
}
public function rollbackTransation() {
public function rollbackTransaction() {
/* @var $db IDBConnection */
$db = OC::$server->get(IDBConnection::class);

View File

@ -87,8 +87,7 @@ class EpisodeActionControllerTest extends \Test\TestCase
/**
* @after
*/
public function after()
{
$this->rollbackTransation();
public function after(): void {
$this->rollbackTransaction();
}
}

View File

@ -111,6 +111,6 @@ class EpisodeActionGuidMigrationTest extends TestCase
*/
public function after()
{
$this->rollbackTransation();
$this->rollbackTransaction();
}
}

View File

@ -118,6 +118,6 @@ class TimestampMigrationTest extends TestCase
*/
public function after()
{
$this->rollbackTransation();
$this->rollbackTransaction();
}
}