 
 class DatabasePoolTests: GRDBTestCase {
     func testDatabasePoolCreatesWalShm() throws {
-        let dbPool = try makeDatabasePool(filename: "database.sqlite")
+        let dbPool = try makeDatabasePool()
         withExtendedLifetime(dbPool) {
             let fm = FileManager()
             XCTAssertTrue(fm.fileExists(atPath: dbPool.path + "-wal"))

                    throw DatabaseError(resultCode: ResultCode(rawValue: code))
                }
            }
            let dbPool = try makeDatabasePool(filename: "database.sqlite", configuration: configuration)
            path = dbPool.path
        }
        let fm = FileManager()

    func testPersistentWALModeDisabled() throws {
        let path: String
        do {
            dbConfiguration.prepareDatabase = { db in
                var flag: CInt = 0
                let code = withUnsafeMutablePointer(to: &flag) { flagP in
                    sqlite3_file_control(db.sqliteConnection, nil, SQLITE_FCNTL_PERSIST_WAL, flagP)
