From e95825b9f3308a87bd839a704fa141542495d1cd Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 7 Sep 2023 15:19:51 +1000 Subject: [PATCH] Quote to project --- tests/Feature/QuoteTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Feature/QuoteTest.php b/tests/Feature/QuoteTest.php index fd1847da6007..957286739fb0 100644 --- a/tests/Feature/QuoteTest.php +++ b/tests/Feature/QuoteTest.php @@ -75,7 +75,7 @@ class QuoteTest extends TestCase [ 'type_id' => 2, 'unit_cost' => 200, - 'quantity' => 1, + 'quantity' => 2, 'notes' => 'Test200', ], [ @@ -99,7 +99,7 @@ class QuoteTest extends TestCase $p = $q->service()->convertToProject(); - $this->assertEquals(2, $p->budgeted_hours); + $this->assertEquals(3, $p->budgeted_hours); $this->assertEquals(2, $p->tasks()->count()); $t = $p->tasks()->where('description', 'Test200')->first();