-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SMTP credentials/sending changes (#108)
* Add `verbose` arg to `smtp_send()` * Remove certain args from `creds_anonymous()` * Remove unused `sender_name` option * Remove docs for removed `password` arg This also corrects a nearby spelling error.
- Loading branch information
1 parent
4fbd99f
commit f12c907
Showing
8 changed files
with
28 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ test_that("utility functions for credentials work properly", { | |
provider = NULL, | ||
user = "[email protected]", | ||
password = "testpass", | ||
sender_name = "testsender", | ||
host = "smtp.example.com", | ||
port = 465, | ||
use_ssl = TRUE | ||
|
@@ -21,7 +20,7 @@ test_that("utility functions for credentials work properly", { | |
credentials_list_1 %>% | ||
names() %>% | ||
expect_equal( | ||
c("version", "sender_name", "host", "port", "use_ssl", "user", "password") | ||
c("version", "host", "port", "use_ssl", "user", "password") | ||
) | ||
|
||
# Expect a specific value for `credentials_list_1$version` | ||
|
@@ -34,7 +33,6 @@ test_that("utility functions for credentials work properly", { | |
provider = "gmail", | ||
user = "[email protected]", | ||
password = "testpass", | ||
sender_name = "testsender", | ||
host = NULL, | ||
port = NULL, | ||
use_ssl = NULL | ||
|
@@ -44,7 +42,7 @@ test_that("utility functions for credentials work properly", { | |
credentials_list_2 %>% | ||
names() %>% | ||
expect_equal( | ||
c("version", "sender_name", "host", "port", "use_ssl", "user", "password") | ||
c("version", "host", "port", "use_ssl", "user", "password") | ||
) | ||
|
||
# Expect that the `host`, `port`, and `use_ssl` elements | ||
|
@@ -60,7 +58,6 @@ test_that("utility functions for credentials work properly", { | |
provider = NULL, | ||
user = "[email protected]", | ||
password = "testpass", | ||
sender_name = "testsender", | ||
host = NULL, | ||
port = NULL, | ||
use_ssl = NULL | ||
|