A free open source IT asset/license management system
Updated test to exclude update
snipea6ce1e694131
diff --git a/tests/Feature/Checkouts/Api/AssetCheckoutTest.php b/tests/Feature/Checkouts/Api/AssetCheckoutTest.phpindex 8082999766..a488e4bf54 100644--- a/tests/Feature/Checkouts/Api/AssetCheckoutTest.php+++ b/tests/Feature/Checkouts/Api/AssetCheckoutTest.php@@ -37,7 +37,12 @@ class AssetCheckoutTest extends TestCase->post(route('api.assets.requests.store', $nonRequestable->id))->assertStatusMessageIs('error');- $this->assertHasTheseActionLogs($requestable, ['create', 'requested', 'update']); // FIXME - is this right?!+ // The counter increment on requests_counter used to fire a+ // redundant `update` log alongside `requested`; the+ // AssetObserver's same_requests_counter gate now suppresses+ // it (matching how it already suppresses the sibling+ // `update` log on checkout/checkin counter bumps).+ $this->assertHasTheseActionLogs($requestable, ['create', 'requested']);}