From 44df9cb92abe66cf12e887ef19e60a01461b3558 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Mon, 25 Apr 2022 16:27:25 +0200 Subject: Tests: Ability to add a custom server and share certificate We also now do not have to skip verification in the test files --- ci/docker/go-test.docker | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ci/docker/go-test.docker') diff --git a/ci/docker/go-test.docker b/ci/docker/go-test.docker index 2e6bcd5..04b6a99 100644 --- a/ci/docker/go-test.docker +++ b/ci/docker/go-test.docker @@ -34,5 +34,9 @@ COPY ./internal ./internal # Copy selenium scripts COPY ./selenium_eduvpn.py ./selenium_eduvpn.py +# Update certificates +COPY ./ci/docker/selfsigned/eduvpnserver.crt /usr/local/share/ca-certificates/eduvpnserver.crt +RUN update-ca-certificates + # Run the tests CMD ["go", "test", "-mod=readonly", "./...", "-v"] -- cgit v1.2.3