Skip to content

Commit a4d8e29

Browse files
committed
fix(tests): fix import ordering and remove unused import
AI-Assisted-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Anna Larch <anna@nextcloud.com>
1 parent 71f43ca commit a4d8e29

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

tests/lib/AppConfigMigrationFallbackTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,16 @@
77
*/
88
namespace Test;
99

10+
use Doctrine\DBAL\Exception\InvalidFieldNameException;
1011
use OC\AppConfig;
1112
use OC\Config\ConfigManager;
1213
use OC\Config\PresetManager;
1314
use OC\DB\Exceptions\DbalException;
1415
use OC\Memcache\Factory as CacheFactory;
15-
use Doctrine\DBAL\Exception\InvalidFieldNameException;
1616
use OCP\DB\Exception as DBException;
1717
use OCP\DB\IResult;
1818
use OCP\DB\QueryBuilder\IExpressionBuilder;
1919
use OCP\DB\QueryBuilder\IQueryBuilder;
20-
use OCP\ICache;
2120
use OCP\IConfig;
2221
use OCP\IDBConnection;
2322
use OCP\Security\ICrypto;

tests/lib/Config/UserConfigMigrationFallbackTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
*/
88
namespace Test\lib\Config;
99

10+
use Doctrine\DBAL\Exception\InvalidFieldNameException;
1011
use OC\Config\ConfigManager;
1112
use OC\Config\PresetManager;
1213
use OC\Config\UserConfig;
1314
use OC\DB\Exceptions\DbalException;
14-
use Doctrine\DBAL\Exception\InvalidFieldNameException;
1515
use OCP\DB\Exception as DBException;
1616
use OCP\DB\IResult;
1717
use OCP\DB\QueryBuilder\IExpressionBuilder;

0 commit comments

Comments
 (0)