Merge pull request #19 from ebivibe/DBBranch
Pre-create Service Provider
This commit is contained in:
commit
9787466a06
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue