Nothing
with_mock_dir("../httptest/login", {
test_that("login", {
expect_error(
epLogin("username"),
'argument "password" is missing, with no default',
fixed = TRUE
)
expect_error(
epLogin("wrong_user", "wrong_pass"),
"Authentication failed. Please check your username and password.",
fixed = TRUE
)
expect_message(epLogout())
if( is_active ){
expect_message(
epLogin(username, password),
"Hi nature lover, welcome to enviPath!",
fixed = TRUE
)
}
})
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.