Pre-create Service Provider

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

View file

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

View file

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