]> git.mxchange.org Git - friendica.git/blob - tests/src/Core/Lock/DatabaseLockDriverTest.php
Update use statement lists with new Friendica\Database\dba class
[friendica.git] / tests / src / Core / Lock / DatabaseLockDriverTest.php
1 <?php
2
3 namespace Friendica\Test\src\Core\Lock;
4
5 use Friendica\Core\Lock\DatabaseLockDriver;
6 use Friendica\Database\dba;
7
8 class DatabaseLockDriverTest extends LockTest
9 {
10         protected function getInstance()
11         {
12                 return new DatabaseLockDriver();
13         }
14
15         public function tearDown()
16         {
17                 dba::delete('locks', [ 'id > 0']);
18                 parent::tearDown();
19         }
20 }