diff options
Diffstat (limited to 'apps/twofactor_backupcodes/tests/Integration/Db/BackupCodeMapperTest.php')
-rw-r--r-- | apps/twofactor_backupcodes/tests/Integration/Db/BackupCodeMapperTest.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/twofactor_backupcodes/tests/Integration/Db/BackupCodeMapperTest.php b/apps/twofactor_backupcodes/tests/Integration/Db/BackupCodeMapperTest.php index 5d7d71dd17a..bb97f929d7a 100644 --- a/apps/twofactor_backupcodes/tests/Integration/Db/BackupCodeMapperTest.php +++ b/apps/twofactor_backupcodes/tests/Integration/Db/BackupCodeMapperTest.php @@ -22,7 +22,6 @@ namespace OCA\TwoFactor_BackupCodes\Tests\Integration\Db; -use OC; use OCA\TwoFactor_BackupCodes\Db\BackupCode; use OCA\TwoFactor_BackupCodes\Db\BackupCodeMapper; use OCP\IDBConnection; @@ -53,8 +52,8 @@ class BackupCodeMapperTest extends TestCase { protected function setUp() { parent::setUp(); - $this->db = OC::$server->getDatabaseConnection(); - $this->mapper = OC::$server->query(BackupCodeMapper::class); + $this->db = \OC::$server->getDatabaseConnection(); + $this->mapper = \OC::$server->query(BackupCodeMapper::class); $this->resetDB(); } |