use Doctrine\DBAL\Platforms\MySqlPlatform;
use OC\Repair\Collation;
use OCP\IDBConnection;
-use OCP\ILogger;
use OCP\Migration\IOutput;
+use Psr\Log\LoggerInterface;
use Test\TestCase;
class TestCollationRepair extends Collation {
*/
private $config;
- /** @var ILogger */
+ /** @var LoggerInterface */
private $logger;
protected function setUp(): void {
parent::setUp();
$this->connection = \OC::$server->get(IDBConnection::class);
- $this->logger = $this->createMock(ILogger::class);
+ $this->logger = $this->createMock(LoggerInterface::class);
$this->config = \OC::$server->getConfig();
if (!$this->connection->getDatabasePlatform() instanceof MySqlPlatform) {
$this->markTestSkipped("Test only relevant on MySql");
";
$expected = "
icon.test {
-
- background-image: var(--icon-test);
+ \n background-image: var(--icon-test);
}
";
";
$expected = "
icon.test {
-
- background-image: var(--icon-test);
+ \n background-image: var(--icon-test);
}
";