Learn-by-doing / bitstarter

A crowd funding website that uses bitcoin
MIT License
23 stars 28 forks source link

Bug: the function dropDatabaseTables does not drop the table sessions #91

Open karliatto opened 7 years ago

karliatto commented 7 years ago

The function dropDatabaseTables does not drop the table "sessions" in "bitstarter_test" database due to the fact that it takes the name of the tables from the models and sessions table is created by session_express module.

chill117 commented 7 years ago

Yes, you are correct. Good catch!

chill117 commented 7 years ago

We should not drop the sessions table during the test clean-up. Instead we should empty the sessions database table. See my comments on the #93.