@@ -107,7 +107,7 @@ describe('Password Policy: ', () => {
107
107
} )
108
108
. then ( response => {
109
109
expect ( response . status ) . toEqual ( 302 ) ;
110
- const re = / h t t p : \/ \/ l o c a l h o s t : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = [ a - z A - Z 0 - 9 ] + \& i d = t e s t \& u s e r n a m e = t e s t R e s e t T o k e n V a l i d i t y / ;
110
+ const re = / h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = [ a - z A - Z 0 - 9 ] + \& i d = t e s t \& u s e r n a m e = t e s t R e s e t T o k e n V a l i d i t y / ;
111
111
expect ( response . text . match ( re ) ) . not . toBe ( null ) ;
112
112
done ( ) ;
113
113
} )
@@ -622,7 +622,7 @@ describe('Password Policy: ', () => {
622
622
} )
623
623
. then ( response => {
624
624
expect ( response . status ) . toEqual ( 302 ) ;
625
- const re = / h t t p : \/ \/ l o c a l h o s t : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
625
+ const re = / h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
626
626
const match = response . text . match ( re ) ;
627
627
if ( ! match ) {
628
628
fail ( 'should have a token' ) ;
@@ -714,7 +714,7 @@ describe('Password Policy: ', () => {
714
714
} )
715
715
. then ( response => {
716
716
expect ( response . status ) . toEqual ( 302 ) ;
717
- const re = / h t t p : \/ \/ l o c a l h o s t : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
717
+ const re = / h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
718
718
const match = response . text . match ( re ) ;
719
719
if ( ! match ) {
720
720
fail ( 'should have a token' ) ;
@@ -900,7 +900,7 @@ describe('Password Policy: ', () => {
900
900
} )
901
901
. then ( response => {
902
902
expect ( response . status ) . toEqual ( 302 ) ;
903
- const re = / h t t p : \/ \/ l o c a l h o s t : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
903
+ const re = / h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
904
904
const match = response . text . match ( re ) ;
905
905
if ( ! match ) {
906
906
fail ( 'should have a token' ) ;
@@ -991,7 +991,7 @@ describe('Password Policy: ', () => {
991
991
resolveWithFullResponse : true ,
992
992
} ) ;
993
993
expect ( response . status ) . toEqual ( 302 ) ;
994
- const re = / h t t p : \/ \/ l o c a l h o s t : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
994
+ const re = / h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
995
995
const match = response . text . match ( re ) ;
996
996
if ( ! match ) {
997
997
fail ( 'should have a token' ) ;
@@ -1051,7 +1051,7 @@ describe('Password Policy: ', () => {
1051
1051
} )
1052
1052
. then ( response => {
1053
1053
expect ( response . status ) . toEqual ( 302 ) ;
1054
- const re = / h t t p : \/ \/ l o c a l h o s t : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
1054
+ const re = / h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
1055
1055
const match = response . text . match ( re ) ;
1056
1056
if ( ! match ) {
1057
1057
fail ( 'should have a token' ) ;
@@ -1317,7 +1317,7 @@ describe('Password Policy: ', () => {
1317
1317
} )
1318
1318
. then ( response => {
1319
1319
expect ( response . status ) . toEqual ( 302 ) ;
1320
- const re = / h t t p : \/ \/ l o c a l h o s t : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
1320
+ const re = / h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
1321
1321
const match = response . text . match ( re ) ;
1322
1322
if ( ! match ) {
1323
1323
fail ( 'should have a token' ) ;
@@ -1472,7 +1472,7 @@ describe('Password Policy: ', () => {
1472
1472
} )
1473
1473
. then ( response => {
1474
1474
expect ( response . status ) . toEqual ( 302 ) ;
1475
- const re = / h t t p : \/ \/ l o c a l h o s t : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
1475
+ const re = / h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : 8 3 7 8 \/ 1 \/ a p p s \/ c h o o s e _ p a s s w o r d \? t o k e n = ( [ a - z A - Z 0 - 9 ] + ) \& i d = t e s t \& u s e r n a m e = u s e r 1 / ;
1476
1476
const match = response . text . match ( re ) ;
1477
1477
if ( ! match ) {
1478
1478
fail ( 'should have a token' ) ;
0 commit comments