From 8f18e278604aee6bc6912d1dc539ab712b21665b Mon Sep 17 00:00:00 2001 From: ruizajtruss Date: Wed, 6 Mar 2024 21:51:59 +0000 Subject: [PATCH] removed test since state users need acces now for dropdown menu --- .../src/resolvers/rate/indexRates.test.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/services/app-api/src/resolvers/rate/indexRates.test.ts b/services/app-api/src/resolvers/rate/indexRates.test.ts index a3b31ea7d7..45e8746dbb 100644 --- a/services/app-api/src/resolvers/rate/indexRates.test.ts +++ b/services/app-api/src/resolvers/rate/indexRates.test.ts @@ -24,24 +24,6 @@ describe('indexRates', () => { const ldService = testLDService({ 'rate-edit-unlock': true, }) - it('returns ForbiddenError for state user', async () => { - const stateUser = testStateUser() - - const stateServer = await constructTestPostgresServer({ - context: { - user: stateUser, - }, - ldService: testLDService({ - 'rate-edit-unlock': false, - }), - }) - - // index rates - const result = await stateServer.executeOperation({ - query: INDEX_RATES, - }) - expect(result.errors).toBeDefined() - }) it('returns rate reviews list for cms user with no errors', async () => { const cmsUser = testCMSUser()