mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 22:03:44 +02:00
Fix the subtest to actually make enough keys for this to be useful
This commit is contained in:
@@ -66,7 +66,7 @@ class ApiKeyControllerTest extends IntegrationTestCase
|
||||
// Small sub-test to ensure we're always comparing the number of keys to the
|
||||
// specific logged in account, and not just the total number of keys stored in
|
||||
// the database.
|
||||
factory(ApiKey::class)->create([
|
||||
factory(ApiKey::class)->times(10)->create([
|
||||
'user_id' => factory(User::class)->create()->id,
|
||||
'key_type' => ApiKey::TYPE_ACCOUNT,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user