From e612ff92346e9de72fc8f87e724d843a8b4feef5 Mon Sep 17 00:00:00 2001 From: HSZemi Date: Sat, 8 Oct 2022 16:34:02 +0200 Subject: [PATCH] Update url for mod links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mods.aoe2map.net → mods.aoe2.se --- mapsapp/templates/mapsapp/collection.html | 2 +- mapsapp/templates/mapsapp/map.html | 2 +- mapsapp/tests/test_smoketest.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mapsapp/templates/mapsapp/collection.html b/mapsapp/templates/mapsapp/collection.html index 88c6b88..0a949d3 100644 --- a/mapsapp/templates/mapsapp/collection.html +++ b/mapsapp/templates/mapsapp/collection.html @@ -40,7 +40,7 @@

{{ collection.name }}

{{ collection.description }}

{% if collection.mod_id %} - Go to Mod {% endif %} diff --git a/mapsapp/templates/mapsapp/map.html b/mapsapp/templates/mapsapp/map.html index 4a507b0..40820bc 100644 --- a/mapsapp/templates/mapsapp/map.html +++ b/mapsapp/templates/mapsapp/map.html @@ -149,7 +149,7 @@
by {{ rms.authors }}
target="_blank">Website {% endif %} {% if rms.mod_id %} - Go to Mod {% endif %} diff --git a/mapsapp/tests/test_smoketest.py b/mapsapp/tests/test_smoketest.py index 3257199..6ea4188 100644 --- a/mapsapp/tests/test_smoketest.py +++ b/mapsapp/tests/test_smoketest.py @@ -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('0', self.browser.page_source) # 0102_press_the_heart @@ -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) @@ -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