markTestSkipped('MySQL is not enabled'); $setupSql = file_get_contents(__DIR__ . '/../../../../../examples/sql/mysql.propertystorage.sql'); // Sloppy multi-query, but it works $setupSql = explode(';', $setupSql); $pdo->exec('DROP TABLE IF EXISTS propertystorage'); foreach($setupSql as $sql) { if (!trim($sql)) continue; $pdo->exec($sql); } $pdo->exec('INSERT INTO propertystorage (path, name, value) VALUES ("dir", "{DAV:}displayname", "Directory")'); return $pdo; } }