Skip to content

Commit

Permalink
test: fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Feb 20, 2024
1 parent 81536d6 commit b5a7d09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/modules/layoutUiRules/__tests__/rules.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
DIMENSION_ID_DATA,
DIMENSION_ID_ORGUNIT,
DIMENSION_ID_PERIOD,
DIMENSION_ID_ASSIGNED_CATEGORIES,
} from '../../predefinedDimensions.js'
import {
testResourceRules,
Expand All @@ -16,7 +17,11 @@ const lockableDims = [
DIMENSION_ID_PERIOD,
DIMENSION_ID_ORGUNIT,
]
const disallowableDims = [DIMENSION_ID_DATA, DIMENSION_ID_PERIOD]
const disallowableDims = [
DIMENSION_ID_DATA,
DIMENSION_ID_PERIOD,
DIMENSION_ID_ASSIGNED_CATEGORIES,
]

// Helper fns
const allArrayItemsAreValid = (allItems, validItems) =>
Expand Down

0 comments on commit b5a7d09

Please sign in to comment.