File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -691,22 +691,6 @@ describe('ProjectConfig', () => {
691691 } ) ;
692692
693693 describe ( 'toJSON()' , ( ) => {
694- // server output and toJson does not have the same format
695- const passwordPolicyJson : any = {
696- enforcementState : 'ENFORCE' ,
697- constraints : {
698- requireLowercase : true ,
699- requireUppercase : true ,
700- requireNonAlphanumeric : true ,
701- requireNumeric : true ,
702- minLength : 8 ,
703- maxLength : 30
704- } ,
705- forceUpgradeOnSignin : true
706- } ;
707- const multiFactorJson : any = deepCopy ( serverResponse . mfa ) ;
708- // factorIDs were added by default.
709- multiFactorJson [ 'factorIds' ] = [ ] ;
710694 const serverResponseCopy : ProjectConfigServerResponse = deepCopy ( serverResponse ) ;
711695 it ( 'should return the expected object representation of project config' , ( ) => {
712696 expect ( new ProjectConfig ( serverResponseCopy ) . toJSON ( ) ) . to . deep . equal ( {
You can’t perform that action at this time.
0 commit comments