Commit 9cbb8a0a authored by David Haynes's avatar David Haynes 🙆

Potential fix for test_forms

- https -> http
parent ff82252b
Pipeline #1520 failed with stages
in 1 minute and 31 seconds
...@@ -44,7 +44,7 @@ class URLFormTest(TestCase): ...@@ -44,7 +44,7 @@ class URLFormTest(TestCase):
""" """
form_data = { form_data = {
'target': 'https://srct.gmu.edu', 'target': 'http://srct.gmu.edu',
'short': 'pls', 'short': 'pls',
'expires': '1 Day', 'expires': '1 Day',
'expires_custom': '' 'expires_custom': ''
...@@ -60,7 +60,7 @@ class URLFormTest(TestCase): ...@@ -60,7 +60,7 @@ class URLFormTest(TestCase):
""" """
form_data = { form_data = {
'target': 'https://srct.gmu.edu', 'target': 'http://srct.gmu.edu',
'short': 'pls', 'short': 'pls',
'expires': 'Custom Date', 'expires': 'Custom Date',
'expires_custom': datetime.now() + timedelta(days=1) 'expires_custom': datetime.now() + timedelta(days=1)
...@@ -92,7 +92,7 @@ class URLFormTest(TestCase): ...@@ -92,7 +92,7 @@ class URLFormTest(TestCase):
""" """
form_data = { form_data = {
'target': 'https://srct.gmu.edu', 'target': 'http://srct.gmu.edu',
'short': 'test', 'short': 'test',
'expires': '1 Day', 'expires': '1 Day',
'expires_custom': '' 'expires_custom': ''
...@@ -108,7 +108,7 @@ class URLFormTest(TestCase): ...@@ -108,7 +108,7 @@ class URLFormTest(TestCase):
""" """
form_data = { form_data = {
'target': 'https://srct.gmu.edu', 'target': 'http://srct.gmu.edu',
'short': 'pls', 'short': 'pls',
'expires': 'None', 'expires': 'None',
'expires_custom': '' 'expires_custom': ''
...@@ -124,7 +124,7 @@ class URLFormTest(TestCase): ...@@ -124,7 +124,7 @@ class URLFormTest(TestCase):
""" """
form_data = { form_data = {
'target': 'https://srct.gmu.edu', 'target': 'http://srct.gmu.edu',
'short': 'pls', 'short': 'pls',
'expires': 'Custom Date', 'expires': 'Custom Date',
'expires_custom': datetime.now() - timedelta(days=1) 'expires_custom': datetime.now() - timedelta(days=1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment