Skip to content

Commit bdabc02

Browse files
committed
Update/fix to 'Opal' http/https config
1 parent 8eb6fc2 commit bdabc02

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

tests/testthat/connection_to_datasets/init_local_settings.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ init.server.url <- function()
1616
else
1717
{
1818
# server.url <- "http://127.0.0.1:8080/"
19-
server.url <- "http://localhost:8080/"
19+
# server.url <- "http://localhost:8080/"
20+
server.url <- "https://localhost:8443/"
2021
}
2122
return (server.url)
2223
}

tests/testthat/connection_to_datasets/login_details.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ if ((ds.test_env$driver == "DSLiteDriver") || (ds.test_env$driver == "OpalDriver
3939
ds.test_env$password_2 <- getOption("opal.password", "datashield_test&")
4040
ds.test_env$password_3 <- getOption("opal.password", "datashield_test&")
4141

42-
ds.test_env$options_1 <- "list()"
43-
ds.test_env$options_2 <- "list()"
44-
ds.test_env$options_3 <- "list()"
42+
ds.test_env$options_1 <- "list(ssl_verifyhost=0, ssl_verifypeer=0)"
43+
ds.test_env$options_2 <- "list(ssl_verifyhost=0, ssl_verifypeer=0)"
44+
ds.test_env$options_3 <- "list(ssl_verifyhost=0, ssl_verifypeer=0)"
4545

4646
ds.test_env$secure_login_details <- TRUE
4747
} else if (ds.test_env$driver == "ArmadilloDriver") {

0 commit comments

Comments
 (0)