Skip to content

Commit

Permalink
Update HostingSubscriptionCreateTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Apr 25, 2024
1 parent 6a50cac commit 779d2a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/tests/Unit/HostingSubscriptionCreateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use App\Models\DatabaseUser;
use App\Models\Domain;
use App\SupportedApplicationTypes;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;
use PHPUnit\Framework\TestCase;
use Tests\Feature\Api\ActionTestCase;
Expand Down Expand Up @@ -207,7 +208,7 @@ function test_create()
$newDatabaseUser = new DatabaseUser();
$newDatabaseUser->database_id = $newDatabase->id;
$newDatabaseUser->username = 'pput'.$randId;
$newDatabaseUser->password = 'pppass'.$randId;
$newDatabaseUser->password = Str::password(15);
$newDatabaseUser->save();
}

Expand Down

0 comments on commit 779d2a0

Please sign in to comment.