mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 09:00:27 +00:00
Update HostingSubscriptionCreateTest.php
This commit is contained in:
parent
625d5e1704
commit
e25aaf0b3d
1 changed files with 3 additions and 3 deletions
|
@ -201,13 +201,13 @@ class HostingSubscriptionCreateTest extends ActionTestCase
|
|||
$newDatabase = new Database();
|
||||
$newDatabase->hosting_subscription_id = $hostingSubscriptionData['id'];
|
||||
$newDatabase->is_remote_database_server = 0;
|
||||
$newDatabase->database_name = 'phyre_unit_test_db_'.$randId;
|
||||
$newDatabase->database_name = 'ppdb'.$randId;
|
||||
$newDatabase->save();
|
||||
|
||||
$newDatabaseUser = new DatabaseUser();
|
||||
$newDatabaseUser->database_id = $newDatabase->id;
|
||||
$newDatabaseUser->username = 'phyre_unit_test_user_'.$randId;
|
||||
$newDatabaseUser->password = 'phyre_unit_test_password_'.$randId;
|
||||
$newDatabaseUser->username = 'pput'.$randId;
|
||||
$newDatabaseUser->password = 'pppass'.$randId;
|
||||
$newDatabaseUser->save();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue