Skip to content

Commit

Permalink
Fix sample date in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidysymons committed Dec 1, 2023
1 parent e17b1da commit 3ecea22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions microsetta_interface/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,12 @@ def test_new_human_source_to_sample(self):
self.assertEqual(resp.status_code, 200)
self.assertPageTitle(resp, 'My Kits')

cur_date = datetime.datetime.now.strftime("%-m/%-d/%Y")
# set collection info
collection_note = 'SAMPLE COLLECTED BY INTEGRATION TESTING'
body = {'sample': TEST_KIT_1_SAMPLE_1_BARCODE,
'sample_date': '1/1/2022',
'sample_date_normalized': '1/1/2022',
'sample_date': cur_date,
'sample_date_normalized': cur_date,
'sample_time': '07:00 AM',
'sample_site': 'Stool',
'sample_notes': collection_note}
Expand Down

0 comments on commit 3ecea22

Please sign in to comment.