From b794da9dafde64a17519c131e5d73aaaf268b1dc Mon Sep 17 00:00:00 2001 From: Ben White Date: Fri, 20 Dec 2024 10:05:03 +0100 Subject: [PATCH] Fixes --- posthog/models/test/test_remote_config.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/posthog/models/test/test_remote_config.py b/posthog/models/test/test_remote_config.py index cb28c410b8ead..ddcd23aca2a73 100644 --- a/posthog/models/test/test_remote_config.py +++ b/posthog/models/test/test_remote_config.py @@ -541,22 +541,19 @@ def test_renders_js_including_site_apps(self): id: 'tokentoken', init: function(config) { (function () { return { inject: (data) => console.log('injected!', data)}; })().inject({ config:{}, posthog:config.posthog }); - config.callback(); - return {} } + config.callback(); return {} } }, { id: 'tokentoken', init: function(config) { (function () { return { inject: (data) => console.log('injected 2!', data)}; })().inject({ config:{}, posthog:config.posthog }); - config.callback(); - return {} } + config.callback(); return {} } }, { id: 'tokentoken', init: function(config) { (function () { return { inject: (data) => console.log('injected but disabled!', data)}; })().inject({ config:{}, posthog:config.posthog }); - config.callback(); - return {} } + config.callback(); return {} } }] } })();\