File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/auth/src/core/auth Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -863,15 +863,15 @@ describe('core/auth/auth_impl', () => {
863
863
mockFetch . tearDown ( ) ;
864
864
} ) ;
865
865
866
- it ( 'password policy should be set for project if tenant ID is null' , async ( ) => {
866
+ it ( 'password policy should be cached for project if tenant ID is null' , async ( ) => {
867
867
auth = await testAuth ( ) ;
868
868
auth . tenantId = null ;
869
869
await auth . _updatePasswordPolicy ( ) ;
870
870
871
871
expect ( auth . _getPasswordPolicy ( ) ) . to . eql ( cachedPasswordPolicy ) ;
872
872
} ) ;
873
873
874
- it ( 'password policy should be set for tenant if tenant ID is not null' , async ( ) => {
874
+ it ( 'password policy should be cached for tenant if tenant ID is not null' , async ( ) => {
875
875
auth = await testAuth ( ) ;
876
876
auth . tenantId = TEST_TENANT_ID ;
877
877
await auth . _updatePasswordPolicy ( ) ;
@@ -899,7 +899,7 @@ describe('core/auth/auth_impl', () => {
899
899
expect ( auth . _getPasswordPolicy ( ) ) . to . be . undefined ;
900
900
} ) ;
901
901
902
- it ( 'password policy should still be set when the schema version is not supported' , async ( ) => {
902
+ it ( 'password policy should still be cached when the schema version is not supported' , async ( ) => {
903
903
auth = await testAuth ( ) ;
904
904
auth . tenantId = TEST_TENANT_ID_UNSUPPORTED_POLICY_VERSION ;
905
905
await auth . _updatePasswordPolicy ( ) ;
You can’t perform that action at this time.
0 commit comments