From 851ce1205679b3171b4dd8a1a4c71f9d43eb8345 Mon Sep 17 00:00:00 2001 From: Evert-R Date: Tue, 28 May 2024 15:12:51 +0200 Subject: [PATCH] fix test_header_serializer --- backend/theme/tests/test_serializers.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/theme/tests/test_serializers.py b/backend/theme/tests/test_serializers.py index a827fdeac..5c7df5895 100644 --- a/backend/theme/tests/test_serializers.py +++ b/backend/theme/tests/test_serializers.py @@ -46,7 +46,10 @@ def test_header_serializer(self): expected_json = { 'showScore': True, 'nextExperimentButtonText': 'Next experiment', - 'aboutButtonText': 'About us' + 'aboutButtonText': 'About us', + 'scoreClass': 'gold', + 'scoreLabel': 'Points', + 'noScoreLabel': 'No points yet!' } self.assertEqual(serialize_header(self.header), expected_json)