diff --git a/tests/src/firebase.js b/tests/src/firebase.js index b966843f..745680a9 100644 --- a/tests/src/firebase.js +++ b/tests/src/firebase.js @@ -26,6 +26,8 @@ instances.web.database().ref('tests/priority').setWithPriority({ foo: 'bar', }, 666); +instances.web.database().ref('tests/query').set(DatabaseContents.QUERY); + // instances.native.messaging().subscribeToTopic('fcm_test'); diff --git a/tests/src/tests/support/DatabaseContents.js b/tests/src/tests/support/DatabaseContents.js index 39c2852d..0e60433e 100644 --- a/tests/src/tests/support/DatabaseContents.js +++ b/tests/src/tests/support/DatabaseContents.js @@ -23,6 +23,14 @@ export default { }, }, + QUERY: [{ + search: 'foo', + }, { + search: 'bar', + }, { + search: 'blah', + }], + ISSUES: { // https://github.com/invertase/react-native-firebase/issues/100 100: {