Skip to content

Commit 246c3b6

Browse files
committed
Fix another test.
1 parent 71309df commit 246c3b6

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

packages/sync-rules/test/src/sync_rules.test.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -939,13 +939,12 @@ bucket_definitions:
939939

940940
expect(rules.getBucketParameterQuerier(normalizeTokenParameters({ user_id: 'user1' }))).toMatchObject({
941941
hasDynamicBuckets: true,
942-
// FIXME: update with parameterQueryLookups
943-
// dynamicBucketDefinitions: new Set([
944-
// 'mybucket',
945-
// 'by_list',
946-
// // These are not filtered out yet, due to how the lookups are structured internally
947-
// 'admin_only'
948-
// ]),
942+
parameterQueryLookups: [
943+
ParameterLookup.normalized('mybucket', '2', ['user1']),
944+
ParameterLookup.normalized('by_list', '1', ['user1']),
945+
// These are not filtered out yet, due to how the lookups are structured internally
946+
ParameterLookup.normalized('admin_only', '1', [1])
947+
],
949948
staticBuckets: [
950949
{
951950
bucket: 'mybucket["user1"]',

0 commit comments

Comments
 (0)