Skip to content

Commit 4a677ae

Browse files
committed
Fix the subtest to actually make enough keys for this to be useful
1 parent a81f688 commit 4a677ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/Api/Client/ApiKeyControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function testApiKeyCanBeCreatedForAccount()
6666
// Small sub-test to ensure we're always comparing the number of keys to the
6767
// specific logged in account, and not just the total number of keys stored in
6868
// the database.
69-
factory(ApiKey::class)->create([
69+
factory(ApiKey::class)->times(10)->create([
7070
'user_id' => factory(User::class)->create()->id,
7171
'key_type' => ApiKey::TYPE_ACCOUNT,
7272
]);

0 commit comments

Comments
 (0)