Commit 1611c67
authored
test(gitea): fix broken test in CI (#281)
The test was broken in CI, but may work locally (on MacOS for example).
In CI it fails with: `self-signed certificate`
It's because of different behavior in `rust-native-tls` depending on the
platform. This PR eliminates the issue via explicit usage of rustls.
Alternative would be to disable cert verification, but it means test
would be useless.
Closes #2731 parent 455fd79 commit 1611c67
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
| 757 | + | |
757 | 758 | | |
758 | 759 | | |
759 | 760 | | |
| |||
0 commit comments