Skip to content

Commit

Permalink
fix failing test after changing fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiemezuo committed Aug 19, 2024
1 parent c880164 commit ac86fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wagtail/images/tests/test_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def test_to_python_with_int(self):
value = block.to_python(self.image.id)

self.assertEqual(value.id, self.image.id)
self.assertEqual(value.contextual_alt_text, "")
self.assertEqual(value.contextual_alt_text, None)
self.assertFalse(value.decorative)

def test_to_python_with_dict(self):
Expand Down

0 comments on commit ac86fe7

Please sign in to comment.