Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
hotfix for test
Browse files Browse the repository at this point in the history
  • Loading branch information
higs4281 committed Oct 5, 2016
1 parent 9b5e130 commit ebcfc71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion retirement_api/utils/tests/test_ss_utilities.py
Expand Up @@ -198,7 +198,9 @@ def test_get_test_params(self):
test_params = get_test_params(46, 3, dob_year=1950)
self.assertEqual(test_params['yob'], 1950)
if self.today.day > 27:
test_today = self.today.replace(day=27)
test_today = self.today.replace(day=27)
else:
test_today = self.today
test_params = get_test_params(46, test_today.day + 1)
self.assertEqual(test_params['dobday'], test_today.day + 1)

Expand Down

0 comments on commit ebcfc71

Please sign in to comment.