From 4fd2e74cb24df6f0447566d7ee8c383f2383d193 Mon Sep 17 00:00:00 2001 From: Salakar Date: Mon, 9 Apr 2018 20:53:06 +0100 Subject: [PATCH] [tests][config] add platform conditional for setDefaultsFromResource (android expects a double) --- bridge/e2e/config/config.e2e.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bridge/e2e/config/config.e2e.js b/bridge/e2e/config/config.e2e.js index d6a1def4..844d4585 100644 --- a/bridge/e2e/config/config.e2e.js +++ b/bridge/e2e/config/config.e2e.js @@ -83,7 +83,9 @@ describe('config()', () => { describe('setDefaultsFromResource()', () => { it('accepts a resource id/name to read defaults from', async () => { - firebase.config().setDefaultsFromResource(); + if (device.getPlatform() === 'android') + firebase.config().setDefaultsFromResource(6666); + else firebase.config().setDefaultsFromResource(); // todo add plist/xml on ios/android to test });