From 4a677aebae8e6818d5a9378ee2c31f81c41e1b55 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Thu, 25 Jun 2020 22:39:45 -0700 Subject: [PATCH] Fix the subtest to actually make enough keys for this to be useful --- tests/Integration/Api/Client/ApiKeyControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/Api/Client/ApiKeyControllerTest.php b/tests/Integration/Api/Client/ApiKeyControllerTest.php index 2abf64185..8189342b9 100644 --- a/tests/Integration/Api/Client/ApiKeyControllerTest.php +++ b/tests/Integration/Api/Client/ApiKeyControllerTest.php @@ -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, ]);