diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-07-19 13:08:57 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-07-19 13:30:40 +0300 |
commit | b130e74f187b2ba22db6654508a6e7e4c721a16e (patch) | |
tree | 7fafc5f2d22eaf68c9dcfea5a74fe03d6b0676c8 /ewww.md | |
parent | 62b3cd170e603367629f7b1dc2abd02a9524277a (diff) | |
download | ewww-b130e74f187b2ba22db6654508a6e7e4c721a16e.tar.gz |
test: drop minimal smoke test
The normal smoke test does the same thing now.
Diffstat (limited to 'ewww.md')
-rw-r--r-- | ewww.md | 45 |
1 files changed, 0 insertions, 45 deletions
@@ -85,23 +85,6 @@ for static content only. Every other method returns an error. # Acceptance criteria -## Minimal smoke test - -~~~scenario -when I create webroot/foo.html with "this is your web page" -given a self-signed certificate as snakeoil.pem, using key snakeoil.key -and a running server using config file minimal.yaml -when I request GET https://example.com/foo.html -then I get status code 200 -~~~ - -~~~{#minimal.yaml .file .yaml} -webroot: webroot -tls_key: snakeoil.key -tls_cert: snakeoil.pem -~~~ - - ## Smoke test ~~~scenario @@ -114,34 +97,6 @@ and header content-type is "text/html" and body is "this is your web page" ~~~ -~~~scenario-disabled -given a self-signed certificate as snakeoil.pem, using key snakeoil.key -and a running server using config file smoke.yaml - -when I request GET http://example.com/ -then I am redirected to https://example.com/ - -when I request GET http://example.com/.well-known/foo -then I get status code 404 - -when I create webroot/foo -and I request GET http://example.com/.well-known/foo -then I get status code 200 -and content-type is "application/octet-stream" - -when I request HEAD http://example.com/.well-known/foo -then I get status code 200 - -when I request GET https://example.com/ -then I get status code 200 - -when I request HEAD https://example.com/ -then I get status code 200 - -when I request GET https://www.example.com/ -then I am redirected to https://example.com/ -~~~ - The following config file does not specify port numbers. The test scaffolding adds randomly chosen port numbers so that the test can run without being root. |