From 55bc9d2d6f42f347003d75e90b503e23fc08bdf6 Mon Sep 17 00:00:00 2001
From: jkuensem <jkuensem@physik.uni-bielefeld.de>
Date: Thu, 17 Dec 2020 08:35:00 +0100
Subject: [PATCH] TMSS-482: fix test

---
 SAS/TMSS/test/t_tmssapp_specification_REST_API.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SAS/TMSS/test/t_tmssapp_specification_REST_API.py b/SAS/TMSS/test/t_tmssapp_specification_REST_API.py
index f7f4c4f12b8..41b8c77389b 100755
--- a/SAS/TMSS/test/t_tmssapp_specification_REST_API.py
+++ b/SAS/TMSS/test/t_tmssapp_specification_REST_API.py
@@ -2098,9 +2098,9 @@ class TaskBlueprintTestCase(unittest.TestCase):
     def test_GET_TaskBlueprint_list_view_shows_entry(self):
 
         test_data_1 = TaskBlueprint_test_data()
-        models.TaskBlueprint.objects.create(**test_data_1)
+        tb = models.TaskBlueprint.objects.create(**test_data_1)
         nbr_results = models.TaskBlueprint.objects.count()
-        GET_and_assert_in_expected_response_result_list(self, BASE_URL + '/task_blueprint/', test_data_1, nbr_results)
+        GET_and_assert_in_expected_response_result_list(self, BASE_URL + '/task_blueprint/', test_data_1, nbr_results, expected_id=tb.id)
 
     def test_GET_TaskBlueprint_view_returns_correct_entry(self):
 
-- 
GitLab