This repository was archived by the owner on Nov 21, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ Now it's time to configure AMIV API. Create a file `config.py`
107107ROOT_PASSWORD = ' root'
108108
109109# MongoDB Configuration
110- MONGO_HOST = ' mongodb' # or 'localhost' if you run the API from Python
110+ MONGO_HOST = ' mongodb' # or 'localhost' if you run the database locally
111111MONGO_PORT = 27017
112112MONGO_DBNAME = ' amivapi'
113113MONGO_USERNAME = ' amivapi'
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def test_email_signup_delete(self):
7676 self .app .config .pop ('SIGNUP_DELETED_REDIRECT' )
7777 self .api .get ('/eventsignups/%s' % signup ['_id' ], status_code = 200 )
7878 self .api .get ('/delete_signup/%s' % token , status_code = 200 )
79- self .api .post ('/delete_confirmed/%s' % token , status_code = 302 )
79+ self .api .post ('/delete_confirmed/%s' % token , status_code = 200 )
8080
8181 # Check that signup was deleted
8282 self .api .get ('/eventsignups/%s' % signup ['_id' ], status_code = 404 )
You can’t perform that action at this time.
0 commit comments