Skip to content

Commit

Permalink
Update url for mod links
Browse files Browse the repository at this point in the history
mods.aoe2map.net → mods.aoe2.se
  • Loading branch information
HSZemi committed Oct 8, 2022
1 parent 8bc9c99 commit e612ff9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mapsapp/templates/mapsapp/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h4 class="text-center"><span id="collection-name">{{ collection.name }}</span>
<p class="markdown-text" id="description">{{ collection.description }}</p>
<div class="text-center">
{% if collection.mod_id %}
<a href="https://mods.aoe2map.net/{{ collection.mod_id }}"
<a href="https://mods.aoe2.se/{{ collection.mod_id }}"
class="card-link btn btn-outline-secondary mr-3"
target="_blank">Go to Mod</a>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion mapsapp/templates/mapsapp/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h5 class="card-subtitle mb-2 text-muted">by {{ rms.authors }}</h5>
target="_blank">Website</a>
{% endif %}
{% if rms.mod_id %}
<a href="https://mods.aoe2map.net/{{ rms.mod_id }}"
<a href="https://mods.aoe2.se/{{ rms.mod_id }}"
class="card-link btn btn-outline-secondary"
target="_blank">Go to Mod</a>
{% endif %}
Expand Down
6 changes: 3 additions & 3 deletions mapsapp/tests/test_smoketest.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_smoke_test(self):

self.browser.get(self.live_server_url + reverse('map_uuid', kwargs={'rms_id': new_map_uuid}))
self.assertIn('Changelog Information', self.browser.page_source)
self.assertIn('https://mods.aoe2map.net/1337', self.browser.page_source)
self.assertIn('https://mods.aoe2.se/1337', self.browser.page_source)
self.assertIn('<span class="votes">0</span>', self.browser.page_source)

# 0102_press_the_heart
Expand Down Expand Up @@ -152,7 +152,7 @@ def test_smoke_test(self):
# 014_open_collection_page_and_find_map

self.click_page_link_text('Collection Name', 'Collection Description')
self.assertIn('https://mods.aoe2map.net/42', self.browser.page_source)
self.assertIn('https://mods.aoe2.se/42', self.browser.page_source)
sleep(1)
self.assertIn('Map Name', self.browser.page_source)

Expand All @@ -179,7 +179,7 @@ def test_smoke_test(self):
self.click_page_link('a-goto-created-map', 'Map Name')
self.assertIn('Changelog Information: New Version', self.browser.page_source)
self.assertIn('relic_nothing.png', self.browser.page_source)
self.assertIn('https://mods.aoe2map.net/1337', self.browser.page_source)
self.assertIn('https://mods.aoe2.se/1337', self.browser.page_source)

# 099_logout

Expand Down

0 comments on commit e612ff9

Please sign in to comment.