Skip to content

Commit

Permalink
🐞 ballot-box unit tests don't compile (#203)
Browse files Browse the repository at this point in the history
Parent issue: sequentech/meta#803
  • Loading branch information
edulix committed Apr 26, 2024
1 parent b35e55b commit 67d5715
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@ jobs:
- name: Install dependencies
run: |
apt update
apt install -y wget postgresql-client curl
apt install -y wget postgresql-client curl python3 python3-venv python3-pip
- name: Setup Python environment
shell: bash
run: |
pip install -r admin/requirements.txt
sed -i '/^source /d' admin/admin_env.sh
# source: https://www.scala-sbt.org/1.x/docs/GitHub-Actions-with-sbt.html
- name: Setup Scala, Sbt and Java 8
Expand Down
8 changes: 4 additions & 4 deletions test/BallotboxSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ class BallotboxSpec extends Specification with TestContexts with Response {
/* tallyAllowed = */ true,
/* publicCandidates = */ true,
/* logo_url = */ None,
/* trusteeKeysState = */ None
///* segmentedMixing = */ None
/* trusteeKeysState = */ None,
/* weightedVotingField = */ None
)
)

Expand Down Expand Up @@ -135,8 +135,8 @@ class BallotboxSpec extends Specification with TestContexts with Response {
/* tallyAllowed = */ false,
/* publicCandidates = */ true,
/* logo_url = */ None,
/* trusteeKeysState = */ None
///* segmentedMixing = */ None
/* trusteeKeysState = */ None,
/* weightedVotingField = */ None
)
)

Expand Down
2 changes: 1 addition & 1 deletion test/ElectionsSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class ElectionsSpec extends Specification with TestContexts with Response {
/* publicCandidates = */ true,
/* logo_url = */ None,
/* trusteeKeysState = */ None,
///* segmentedMixing = */ None
/* weightedVotingField = */ None
)
)
}
Expand Down

0 comments on commit 67d5715

Please sign in to comment.