Pre-create Service Provider
This commit is contained in:
parent
ef7d9db62b
commit
c61a703041
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
Loading…
Reference in a new issue