aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auth.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: Refactor!Ali MJ Al-Nasrawy2021-08-261-111/+29
| | | | | | | | | | | Remove duplicate code responsible for the initial setup and teardown of the test binary. This introduces `TestServer` as a resource manager for a running miniserve binary, which can be created with the fixtures `server()` and `server_no_stderr()` It also provides convenience function for handling server url.
* Fix grammarSven-Hendrik Haase2021-02-271-1/+1
|
* Format everythingSven-Hendrik Haase2020-03-111-1/+1
|
* Bump reqwests to v0.10Sven-Hendrik Haase2020-03-111-5/+6
|
* Fix deprecated stuffSven-Hendrik Haase2020-03-091-5/+5
|
* Actually make use of pretty_assertionsSven-Hendrik Haase2019-09-211-16/+15
|
* Merge pull request #118 from KSXGitHub/multiple-auths-altSven-Hendrik Haase2019-06-031-1/+140
|\ | | | | Multiple user accounts — Alternate Implementation
| * Fix regression where path cannot be placed after '--auth <auth>'khai96_2019-05-301-5/+10
| |
| * Complete integration testkhai96_2019-05-201-1/+135
| |
* | Hide stderr (fixes #120)Sven-Hendrik Haase2019-05-191-0/+1
|/
* cargo fmtboastful-squirrel2019-05-101-1/+1
|
* Merge pull request #103 from KSXGitHub/test-auth-one-more-assertionSven-Hendrik Haase2019-05-061-3/+7
|\ | | | | Add assertion of status code to auth_works
| * Use constant for assertionkhai96_2019-05-061-1/+2
| |
| * Add assertion of status code to auth_workskhai96_2019-05-041-3/+7
| |
* | Use constant for assertionkhai96_2019-05-061-1/+2
| |
* | Add integration test where it rejects authenticationkhai96_2019-05-041-1/+58
|/
* Make tests into their own proper modules without star importsSven-Hendrik Haase2019-05-011-2/+11
| | | | Star imports make it hard to see which imports a module is actually using so I prefer to have this be a bit more explicit.
* Move helpers.rs to fixtures/mod.rskhai96_2019-04-291-2/+2
|
* Split integration test into multiple fileskhai96_2019-04-281-0/+50