@@ -2,20 +2,23 @@ Feature: Site Redirection
22
33 Scenario : no_www-no_ssl redirection works properly
44 When I run 'bin/ee site create example.test'
5+ Then After delay of 5 seconds
56 Then Request on 'localhost' with header 'Host: www.example.test' should contain following headers:
67 | header |
78 | HTTP /1 .1 301 Moved Permanently |
89 | Location : http ://example .test / |
910
1011 Scenario : www-no_ssl redirection works properly
1112 When I run 'bin/ee site create www.example1.test'
13+ Then After delay of 5 seconds
1214 Then Request on 'localhost' with header 'Host: example1.test' should contain following headers:
1315 | header |
1416 | HTTP /1 .1 301 Moved Permanently |
1517 | Location : http ://www .example1 .test / |
1618
1719 Scenario : no_www-ssl redirection works properly
1820 When I run
'sudo bin/ee site create example2.test --le [email protected] --skip-status-check' 21+ Then After delay of 5 seconds
1922 Then Request on 'localhost' with header 'Host: www.example2.test' should contain following headers:
2023 | header |
2124 | HTTP /1 .1 301 Moved Permanently |
@@ -27,6 +30,7 @@ Feature: Site Redirection
2730
2831 Scenario : www-ssl redirection works properly
2932 When I run
'sudo bin/ee site create www.example3.test --le [email protected] --skip-status-check' 33+ Then After delay of 5 seconds
3034 Then Request on 'localhost' with header 'Host: example3.test' should contain following headers:
3135 | header |
3236 | HTTP /1 .1 301 Moved Permanently |
0 commit comments