Skip to content

Commit

Permalink
removed test since state users need acces now for dropdown menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ruizajtruss committed Mar 6, 2024
1 parent 6b1920e commit 8f18e27
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions services/app-api/src/resolvers/rate/indexRates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8f18e27

Please sign in to comment.