From b5d1502ecb98225facc8c533bd461ae51cc1f23a Mon Sep 17 00:00:00 2001 From: Maria Lorena Rodriguez Viruel Date: Mon, 2 Dec 2024 12:14:15 -0300 Subject: [PATCH] use options object in updatePermissions call --- tests/integration/api/controllers/users.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/api/controllers/users.spec.js b/tests/integration/api/controllers/users.spec.js index 68910df19c6..cd01621cdfc 100644 --- a/tests/integration/api/controllers/users.spec.js +++ b/tests/integration/api/controllers/users.spec.js @@ -1944,7 +1944,7 @@ describe('Users API', () => { }); it('should create users with multiple facilities', async () => { - await utils.updatePermissions(['national_admin', 'chw'], ['can_have_multiple_places'], [], true); + await utils.updatePermissions(['national_admin', 'chw'], ['can_have_multiple_places'], [], { ignoreReload: true }); const onlineUserPayload = { username: uuid(), password: password,