Commit 0010bbbf authored by Ola Hermann Opheim's avatar Ola Hermann Opheim
Browse files

sign-up page tests

parent b1db43f6
......@@ -234,7 +234,7 @@ class GiveTaskOfferBoundaryTest(unittest.TestCase):
# title 199 chars
nr_of_offers = TaskOffer.objects.count()
self.client.post(f'/projects/{self.testBoundaryProject.pk}/', {
'title': title_200char,
'title': title_200char[:-1],
'description': 'max 500',
'price': 123,
'taskvalue': self.testBoundaryTask.id,
......@@ -245,7 +245,7 @@ class GiveTaskOfferBoundaryTest(unittest.TestCase):
# title 200 chars
nr_of_offers = TaskOffer.objects.count()
self.client.post(f'/projects/{self.testBoundaryProject.pk}/', {
'title': title_200char[:-1],
'title': title_200char,
'description': 'max 500',
'price': 123,
'taskvalue': self.testBoundaryTask.id,
......
This diff is collapsed.
Supports Markdown
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