Skip to content

Commit

Permalink
Update CreateMapOverlayVisualisations.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tcaiger committed Nov 13, 2024
1 parent 38e6ded commit 4ae6d82
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ describe('POST map overlay visualisations', async () => {
const { models } = app;

const policy = {
DL: [TUPAIA_ADMIN_PANEL_PERMISSION_GROUP, VIZ_BUILDER_PERMISSION_GROUP],
DL: [
TUPAIA_ADMIN_PANEL_PERMISSION_GROUP,
VIZ_BUILDER_PERMISSION_GROUP,
'Test Permission Group',
],
};

const vizBuilderOnlyPermission = {
Expand Down Expand Up @@ -72,7 +76,7 @@ describe('POST map overlay visualisations', async () => {
app.revokeAccess();
});

describe('POST /dashboardVisualisations/', () => {
describe.only('POST /dashboardVisualisations/', () => {
it('Throws if body not provided', async () => {
const response = await app.post('mapOverlayVisualisations/', {});
expectError(
Expand Down

0 comments on commit 4ae6d82

Please sign in to comment.