Update HostingSubscriptionCreateTest.php

This commit is contained in:
Bozhidar 2024-04-24 23:39:43 +03:00
parent 625d5e1704
commit e25aaf0b3d

View file

@ -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();
}