From 1afb724606b74618337712da42801e2d4a9ef9a0 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Thu, 14 Mar 2024 13:11:43 -0700 Subject: [PATCH] Remove commented (and old) test cases --- tests/Unit/CategoryTest.php | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/tests/Unit/CategoryTest.php b/tests/Unit/CategoryTest.php index c74597b1b4..e5c98a67ad 100644 --- a/tests/Unit/CategoryTest.php +++ b/tests/Unit/CategoryTest.php @@ -60,34 +60,4 @@ class CategoryTest extends TestCase $this->assertCount(5, $category->models); $this->assertEquals(10, $category->itemCount()); } - - - // public function testACategoryCanHaveAccessories() - // { - // $category = Category::factory()->assetDesktopCategory()->create(); - // Accessory::factory()->count(5)->appleBtKeyboard()->create( - // [ - // 'category_id' => $category->id - // ] - // ); - - // $this->assertCount(5, $category->accessories); - // $this->assertEquals(5, $category->itemCount()); - // } - - // public function testACategoryCanHaveConsumables() - // { - // $category = $this->createValidCategory('consumable-paper-category'); - // \App\Models\Consumable::factory()->count(5)->cardstock()->create(['category_id' => $category->id]); - // $this->assertCount(5, $category->consumables); - // $this->assertEquals(5, $category->itemCount()); - // } - - // public function testACategoryCanHaveComponents() - // { - // $category = $this->createValidCategory('component-ram-category'); - // \App\Models\Component::factory()->count(5)->ramCrucial4()->create(['category_id' => $category->id]); - // $this->assertCount(5, $category->components); - // $this->assertEquals(5, $category->itemCount()); - // } }