From 2c4736956a887a37e68494d0188c7d1ec5d33bd7 Mon Sep 17 00:00:00 2001 From: Jyoti Puri Date: Mon, 5 Sep 2022 20:52:10 +0530 Subject: [PATCH] Update app/scripts/controllers/permissions/background-api.test.js Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> --- app/scripts/controllers/permissions/background-api.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/controllers/permissions/background-api.test.js b/app/scripts/controllers/permissions/background-api.test.js index 02467fa0ccde..a7f433eb1d25 100644 --- a/app/scripts/controllers/permissions/background-api.test.js +++ b/app/scripts/controllers/permissions/background-api.test.js @@ -34,7 +34,7 @@ describe('permission background API methods', () => { ); }); - it('does not call permissionController.updateCaveat if the specified account is already permitted', () => { + it('does not add a permitted account', () => { const permissionController = { getCaveat: jest.fn().mockImplementationOnce(() => { return { type: CaveatTypes.restrictReturnedAccounts, value: ['0x1'] };