Merge pull request #19 from ebivibe/DBBranch

Pre-create Service Provider
This commit is contained in:
FunwithaPorpoise 2018-11-18 17:23:29 -05:00 committed by GitHub
commit f7545624bd
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