forked from beba/foerderbarometer
added test for failed extern redirect
This commit is contained in:
parent
803c94137d
commit
20e5be26c0
|
|
@ -28,6 +28,9 @@ class AnonymousViewTestCase(TestCase):
|
||||||
|
|
||||||
request(self, 'extern', expected_url=url, data={'url': url})
|
request(self, 'extern', expected_url=url, data={'url': url})
|
||||||
|
|
||||||
|
def test_extern_invalid_url(self):
|
||||||
|
request(self, 'extern', data={'url': 'https://domain.not/allowed/to/be/redirected/'})
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_step_data(cls, choice, **data):
|
def get_step_data(cls, choice, **data):
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue