Skip to content

Commit

Permalink
fix test_header_serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Evert-R committed May 28, 2024
1 parent c61a977 commit 851ce12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/theme/tests/test_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 851ce12

Please sign in to comment.