edemo / PDEngine

voting engine using ADA authentication and condorcet method
Other
2 stars 12 forks source link

not logged in user can have no ballot #196

Open magwas opened 5 years ago

magwas commented 5 years ago

Behaviour: Manage votes/Obtain ballot;if the adminKey is anon and the user is not logged in then no ballots are issued

@tested_feature("Manage votes")

@tested_operation("Obtain ballot")

@tested_behaviour("if the adminKey is anon and the user is not logged in then no ballots are issued")

A testable aspect of function: a set of pre- and postconditions.

Deviation in model

colorimeter commented 5 years ago

grab

colorimeter commented 5 years ago

@magwas : done, put to review

szirbucz commented 5 years ago

Not clear for me why is this issue reopened.

szirbucz commented 5 years ago

@magwas Please clarify, what is the status of this task. As far as I see, org.rulez.demokracia.pdengine.ObtainBallotAdminKeyTest.not_logged_in_user_cannot_issue_any_ballot already tests this behavior.

colorimeter commented 5 years ago

IMHO it is done and already merged to develop.

magwas commented 5 years ago

Yes, it is done.