Pre-create Service Provider

This commit is contained in:
Mary Tran 2018-11-18 17:15:44 -05:00
parent 2c75c50435
commit cae9e119b5
2 changed files with 9 additions and 0 deletions

View file

@ -95,6 +95,10 @@ public class DBHelper extends SQLiteOpenHelper {
writeDB = this.getWritableDatabase(); writeDB = this.getWritableDatabase();
//pre-add the admin user //pre-add the admin user
addUser(new Admin()); addUser(new Admin());
addUser(new ServiceProvider("testing", "testing", "TestFirst", "TestLast",
"1234 Test Street, Testinaro, Timor-Teste", "6136136163",
"Test Company", false,
"Tested 10 years"));
} }
@Override @Override

View file

@ -6,3 +6,8 @@ https://github.com/ebivibe/SEG2105-Olympus
Admin account is precreated with Admin account is precreated with
username = admin, username = admin,
password = admin password = admin
ServiceProvider account is precreated with
username = testing,
password = testing