Skip to content

Commit

Permalink
Fix bats test, update quarto-static type expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosnav committed Nov 12, 2024
1 parent d05dcf4 commit dc97e2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/bats/cli/init.bats
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python_content_types=(
)

quarto_content_types=(
"quarto" "quarto-shiny"
"quarto-static" "quarto-shiny"
)

@test "init creates expected file for ${CONTENT}" {
Expand All @@ -35,7 +35,7 @@ quarto_content_types=(
# the default.toml should have the expected fields
run cat ${CONTENT_PATH}/${CONTENT}/.posit/publish/default.toml
assert_success
assert_line "type = '${CONTENT_TYPE}'"
assert_line "type = '${APP_MODE}'"
assert_line "entrypoint = '${ENTRYPOINT}'"
assert_line "validate = true"
assert_line "title = '${TITLE}'"
Expand Down
2 changes: 1 addition & 1 deletion test/bats/contract/deploy.bats
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ sed -i"" -e "s/type = '[^']*'/type = '${CONTENT_TYPE}'/g" "${FULL_PATH}/.posit/p
}

quarto_content_types=(
"quarto" "quarto-static"
"quarto-static"
)

python_content_types=(
Expand Down

0 comments on commit dc97e2a

Please sign in to comment.