diff options
Diffstat (limited to 'tests/Unit/Db/AliasMapperTest.php')
-rw-r--r-- | tests/Unit/Db/AliasMapperTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Unit/Db/AliasMapperTest.php b/tests/Unit/Db/AliasMapperTest.php index e35e10980..5f219d20e 100644 --- a/tests/Unit/Db/AliasMapperTest.php +++ b/tests/Unit/Db/AliasMapperTest.php @@ -34,7 +34,7 @@ use OCP\IDBConnection; * @package OCA\Mail\Db */ class AliasMapperTest extends TestCase { - + use DatabaseTransaction; /** @var AliasMapper */ @@ -49,7 +49,7 @@ class AliasMapperTest extends TestCase { /** * Initialize Mapper */ - public function setup() { + public function setup(): void { parent::setUp(); $this->db = OC::$server->getDatabaseConnection(); $this->mapper = new AliasMapper($this->db); |