File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/auth/src/core/auth Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -845,7 +845,7 @@ describe('core/auth/auth_impl', () => {
845
845
expect ( auth . _getPasswordPolicy ( ) ) . to . eql ( cachedPasswordPolicy ) ;
846
846
} ) ;
847
847
848
- it ( 'password policy should be set for tenant if tenant ID is not nul ' , async ( ) => {
848
+ it ( 'password policy should be set for tenant if tenant ID is not null ' , async ( ) => {
849
849
auth = await testAuth ( ) ;
850
850
auth . tenantId = 'tenant-id' ;
851
851
mockEndpointWithParams (
@@ -887,6 +887,8 @@ describe('core/auth/auth_impl', () => {
887
887
expect ( auth . _getPasswordPolicy ( ) ) . to . eql (
888
888
cachedPasswordPolicyRequireNumeric
889
889
) ;
890
+ auth . tenantId = 'other-tenant-id' ;
891
+ expect ( auth . _getPasswordPolicy ( ) ) . to . be . undefined ;
890
892
} ) ;
891
893
892
894
it ( 'password policy should not be set when the schema version is not supported' , async ( ) => {
You can’t perform that action at this time.
0 commit comments