File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 77} from "../../src/common/types/iam.js" ;
88import { allAppRoles , AppRoles } from "../../src/common/roles.js" ;
99import { getBaseEndpoint } from "./utils.js" ;
10+ import { genericConfig } from "../../src/common/config.js" ;
1011
1112const baseEndpoint = getBaseEndpoint ( ) ;
1213test ( "getting groups" , async ( ) => {
@@ -26,9 +27,7 @@ test("getting groups", async () => {
2627 expect ( item ) . toHaveProperty ( "id" ) ;
2728 expect ( item [ "displayName" ] . length ) . greaterThan ( 0 ) ;
2829 expect ( item [ "id" ] . length ) . greaterThan ( 0 ) ;
29- expect ( item [ "id" ] . length ) . toMatch (
30- / ^ [ 0 - 9 a - f A - F ] { 8 } - [ 0 - 9 a - f A - F ] { 4 } - 4 [ 0 - 9 a - f A - F ] { 3 } - [ 8 9 a b A B ] [ 0 - 9 a - f A - F ] { 3 } - [ 0 - 9 a - f A - F ] { 12 } $ / ,
31- ) ;
30+ expect ( genericConfig . ProtectedEntraIDGroups ) . not . toContain ( item [ "id" ] ) ;
3231 }
3332} ) ;
3433
You can’t perform that action at this time.
0 commit comments