Skip to content

Commit

Permalink
Fixed test json for POST quiz
Browse files Browse the repository at this point in the history
  • Loading branch information
lrboyer committed Dec 13, 2023
1 parent fa9f0c1 commit f30627f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions cdk/visit/lambda_code/test_api/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ def test_register_api():
def test_quiz_api_post():
quiz_data_dict = {
"quiz_id": "3dPrinterTesting",
"username": "CANARY_TEST_"+dt_string,
"email": "[email protected]",
"email": "CANARY_TEST_" + dt_string + "@clemson.edu",
"score": "10 / 10",
"last_updated": (unix_timestamp_for_ttl),
}
Expand Down
3 changes: 1 addition & 2 deletions cdk/visit/lambda_code/test_api/testing_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@
# testing quiz Post request
quiz_data_dict = {
"quiz_id": "3dPrinterTesting",
"username": "CANARY_TEST_"+dt_string,
"email": "[email protected]",
"email": "CANARY_TEST_" + dt_string + "@clemson.edu",
"score": "10 / 10",
"last_updated": (unix_timestamp_for_ttl),
}
Expand Down

0 comments on commit f30627f

Please sign in to comment.