Skip to content

Commit

Permalink
💚 [DEV] FIX sudden CI fails
Browse files Browse the repository at this point in the history
  • Loading branch information
stefrado committed Dec 6, 2024
1 parent 3b59762 commit 1c3b648
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sdg/producten/tests/test_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -1182,10 +1182,10 @@ def test_history_displays_reference_version(self):
self.assertEqual(response.status_code, 200)

revisions = response.pyquery(".revision-list")
self.assertEqual(len(revisions), 2)
self.assertIn(
str(self.product_version.gemaakt_door), revisions[1].text_content()
)

for index, item in enumerate(revisions[1].getiterator("strong")):
if index == 1:
rev_date = datetime.fromisoformat(item.values()[0])
Expand Down
2 changes: 1 addition & 1 deletion src/sdg/templates/producten/_include/productversie.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<td class="tabs__table-cell">
<li class="revision-list__item">
<span class="tabs__table-cell--value">
<strong>{{ version.gewijzigd_op }} </strong>
<strong data-date="{{version.gewijzigd_op|date:"c"}}">{{ version.gewijzigd_op }}</strong>
<span></span>
<strong>{% trans "versie" %} {{version.versie}} {% if not version.publicatie_datum %}(concept){% endif %}</strong>
<span>{% trans "gewijzigd" %}</span>
Expand Down

0 comments on commit 1c3b648

Please sign in to comment.