Skip to content

Commit

Permalink
remove broken sqlite setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Sardina committed Jul 27, 2023
1 parent d086c4f commit 81e7134
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 21 deletions.
3 changes: 0 additions & 3 deletions test/migrators/bundle_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ import 'package:test/test.dart';

import '../support/migrations.dart';
import '../util/io.dart';
import '../util/sqlite.dart';

void main() {
late Database db;
late String dbName;
late DatabaseAdapter adapter;

setupSqliteOpen();

setUp(() {
dbName = 'bundle-migrator-${randomValue()}.db';
db = sqlite3.open(dbName);
Expand Down
3 changes: 0 additions & 3 deletions test/migrators/schema_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@ import 'package:test/test.dart';

import '../support/migrations.dart';
import '../util/io.dart';
import '../util/sqlite.dart';
import '../util/sqlite_errors.dart';

void main() {
late Database db;
late String dbName;
late DatabaseAdapter adapter;

setupSqliteOpen();

setUp(() {
dbName = 'schema-migrations-${randomValue()}.db';
db = sqlite3.open(dbName);
Expand Down
3 changes: 0 additions & 3 deletions test/satellite/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import 'package:sqlite3/sqlite3.dart';
import '../support/migrations.dart';
import '../support/satellite_helpers.dart';
import '../util/io.dart';
import '../util/sqlite.dart';

Map<String, Relation> kTestRelations = {
'child': Relation(
Expand Down Expand Up @@ -83,8 +82,6 @@ final opts = kSatelliteDefaults.copyWith(
Future<SatelliteTestContext> makeContext({
SatelliteOpts? options,
}) async {
setupSqliteOpen();

await Directory('.tmp').create(recursive: true);

final dbName = '.tmp/test-${randomValue()}.db';
Expand Down
12 changes: 0 additions & 12 deletions test/util/sqlite.dart

This file was deleted.

0 comments on commit 81e7134

Please sign in to comment.