mirror of https://github.com/snachodog/mybuddy.git
Adjust existing tests for form validation updates.
This commit is contained in:
parent
492bcddeb4
commit
40f8a511ba
|
@ -48,7 +48,7 @@ class FormsTestCase(TestCase):
|
||||||
'time': '2000-01-01 1:01',
|
'time': '2000-01-01 1:01',
|
||||||
'wet': 1,
|
'wet': 1,
|
||||||
'solid': 1,
|
'solid': 1,
|
||||||
'color': entry.color
|
'color': 'black'
|
||||||
})
|
})
|
||||||
self.assertEqual(page.status_code, 302)
|
self.assertEqual(page.status_code, 302)
|
||||||
|
|
||||||
|
@ -58,8 +58,8 @@ class FormsTestCase(TestCase):
|
||||||
'child': 1,
|
'child': 1,
|
||||||
'start': '2000-01-01 1:01',
|
'start': '2000-01-01 1:01',
|
||||||
'end': '2000-01-01 1:31',
|
'end': '2000-01-01 1:31',
|
||||||
'type': entry.type,
|
'type': 'formula',
|
||||||
'method': entry.method,
|
'method': 'bottle',
|
||||||
'amount': 0
|
'amount': 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue