From 6dc7ae5f96150d452d927b640ffd4f639d379192 Mon Sep 17 00:00:00 2001
From: Ruben Young On <r.d.youngon@student.tudelft.nl>
Date: Mon, 27 May 2019 22:12:56 +0200
Subject: [PATCH] Changed test database entry names

---
 tests/test_api.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_api.py b/tests/test_api.py
index a4e49eb9..42c99ae1 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -8,7 +8,7 @@ from zesje.database import db, Exam, Problem, ProblemWidget
 def add_test_data():
     exam1 = Exam(id=1, name='exam 1', finalized=False)
     exam2 = Exam(id=2, name='exam 2', finalized=True)
-    exam3 = Exam(id=3, name='exam 1', finalized=False)
+    exam3 = Exam(id=3, name='exam 3', finalized=False)
 
     db.session.add(exam1)
     db.session.add(exam2)
@@ -17,7 +17,7 @@ def add_test_data():
 
     problem1 = Problem(id=1, name='Problem 1', exam_id=1)
     problem2 = Problem(id=2, name='Problem 2', exam_id=2)
-    problem3 = Problem(id=3, name='Problem 1', exam_id=3)
+    problem3 = Problem(id=3, name='Problem 3', exam_id=3)
 
     db.session.add(problem1)
     db.session.add(problem2)
-- 
GitLab