From 7ded602637dedb34d615e32f2ecf82360d874dfa Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Mon, 13 Jan 2025 12:59:48 +0100 Subject: [PATCH] Fix documentation test --- docs/lib/snippets/log_interceptor.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/lib/snippets/log_interceptor.dart b/docs/lib/snippets/log_interceptor.dart index e1d60f7c1..a8ca37710 100644 --- a/docs/lib/snippets/log_interceptor.dart +++ b/docs/lib/snippets/log_interceptor.dart @@ -4,7 +4,7 @@ import 'dart:io'; import 'package:drift/drift.dart'; import 'package:drift/native.dart'; -import 'setup/database.dart'; +import 'dart_api/manager.dart'; // #docregion class class LogInterceptor extends QueryInterceptor { @@ -94,7 +94,7 @@ void use() { } void useScoped() async { - final database = AppDatabase(); + final database = AppDatabase(NativeDatabase.memory()); // #docregion runWithInterceptor final interceptor = LogInterceptor();