Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Paul-Christian Volkmer
ARSnova Backend
Commits
01c6b6f9
Commit
01c6b6f9
authored
12 years ago
by
Daniel Knapp
Browse files
Options
Downloads
Patches
Plain Diff
testcases fixed
parent
e384ec84
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/java/de/thm/arsnova/dao/StubDatabaseDao.java
+3
-2
3 additions, 2 deletions
src/test/java/de/thm/arsnova/dao/StubDatabaseDao.java
with
3 additions
and
2 deletions
src/test/java/de/thm/arsnova/dao/StubDatabaseDao.java
+
3
−
2
View file @
01c6b6f9
...
...
@@ -188,11 +188,12 @@ public class StubDatabaseDao implements IDatabaseDao {
}
@Override
public
boolea
n
saveQuestion
(
Session
session
,
Question
question
)
{
public
Questio
n
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment