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(); $db->beginTransaction();
} }
public function rollbackTransation() { public function rollbackTransaction() {
/* @var $db IDBConnection */ /* @var $db IDBConnection */
$db = OC::$server->get(IDBConnection::class); $db = OC::$server->get(IDBConnection::class);

View File

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

View File

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

View File

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