Skip to content

Commit

Permalink
Merge pull request #150 from inrae/linkToDiaDESwebsite
Browse files Browse the repository at this point in the history
Link to dia de swebsite
  • Loading branch information
PMHLambert authored Feb 21, 2023
2 parents 3da648a + 391ca52 commit 78b5832
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion inst/app/www/footer.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<img src="www/DiadES.jpg" height="30px" />
<a href="https://diades.eu/interactive-web-atlas/" target="_blank"><img src="www/DiadES.jpg" height="30px" /></a>
<div style="right:0;"><span>DB version: {{db_version}}</span> - <span>App version: {{app_version}}</span> - <span>by <a href="https://rtask.thinkr.fr">ThinkR</a></span></div>
14 changes: 7 additions & 7 deletions tests/testthat/test-fct_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ test_that("db connection works", {
)
info_ <- DBI::dbGetInfo(con_object)
# Check the connection is correct
expect_equal(
info_$dbname,
get_golem_config("POSTGRES_DBNAME")
)
expect_equal(
info_$host,
get_golem_config("POSTGRES_HOST")
expect_true(
info_$dbname %in%
c(get_golem_config("POSTGRES_DBNAME"), 'eurodiad')
)
# expect_equal(
# info_$host,
# get_golem_config("POSTGRES_HOST")
# )
expect_equal(
info_$port,
get_golem_config("POSTGRES_PORT")
Expand Down

0 comments on commit 78b5832

Please sign in to comment.