Skip to content
Snippets Groups Projects
Commit 01c6b6f9 authored by Daniel Knapp's avatar Daniel Knapp
Browse files

testcases fixed

parent e384ec84
No related merge requests found
......@@ -188,11 +188,12 @@ public class StubDatabaseDao implements IDatabaseDao {
}
@Override
public boolean saveQuestion(Session session, Question question) {
public Question saveQuestion(Session session, Question question) {
List<Question> questions = stubQuestions.get(session.get_id());
questions.add(question);
stubQuestions.put(session.get_id(), questions);
return stubQuestions.get(session) != null;
return question;
}
@Override
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment