@@ -23,7 +23,7 @@ import { IndexBackfiller } from '../../../src/local/index_backfiller';
23
23
import { IndexedDbPersistence } from '../../../src/local/indexeddb_persistence' ;
24
24
import { LocalStore } from '../../../src/local/local_store' ;
25
25
import {
26
- localStoreEnableIndexAutoCreation ,
26
+ localStoreInstallFieldIndexPlugins ,
27
27
newLocalStore
28
28
} from '../../../src/local/local_store_impl' ;
29
29
import { Persistence } from '../../../src/local/persistence' ;
@@ -49,8 +49,6 @@ import * as PersistenceTestHelpers from './persistence_test_helpers';
49
49
import { JSON_SERIALIZER } from './persistence_test_helpers' ;
50
50
import { TestDocumentOverlayCache } from './test_document_overlay_cache' ;
51
51
import { TestIndexManager } from './test_index_manager' ;
52
- import { IndexedDbIndexManagerFieldIndexPluginFactoryImpl } from '../../../src/local/indexeddb_index_manager' ;
53
- import { QueryEngineFieldIndexPluginFactoryImpl } from '../../../src/local/query_engine' ;
54
52
55
53
describe ( 'IndexedDb IndexBackfiller' , ( ) => {
56
54
if ( ! IndexedDbPersistence . isAvailable ( ) ) {
@@ -83,11 +81,7 @@ function genericIndexBackfillerTests(
83
81
User . UNAUTHENTICATED ,
84
82
JSON_SERIALIZER
85
83
) ;
86
- localStoreEnableIndexAutoCreation (
87
- localStore ,
88
- new QueryEngineFieldIndexPluginFactoryImpl ( ) ,
89
- new IndexedDbIndexManagerFieldIndexPluginFactoryImpl ( )
90
- ) ;
84
+ localStoreInstallFieldIndexPlugins ( localStore ) ;
91
85
92
86
remoteDocumentCache = persistence . getRemoteDocumentCache ( ) ;
93
87
remoteDocumentCache . setIndexManager ( localStore . indexManager ) ;
0 commit comments