Skip to content

Commit

Permalink
Fix db tests
Browse files Browse the repository at this point in the history
  • Loading branch information
micahmo committed Jul 12, 2024
1 parent 627e4d0 commit 1d38752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/database/migration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ void main() {
final tables = db.allTables.toList();
final tableNames = tables.map((e) => e.actualTableName).toList();

expect(tables.length, 5);
expect(tableNames, containsAll(['accounts', 'local_subscriptions', 'favorites', 'user_labels', 'drafts']));
expect(tables.length, 6);
expect(tableNames, containsAll(['accounts', 'local_subscriptions', 'favorites', 'user_labels', 'drafts', 'anonymous_instances']));

// Expect correct number of accounts, and correct information
final accounts = await db.accounts.all().get();
Expand Down

0 comments on commit 1d38752

Please sign in to comment.