diff --git a/app/Models/Charge.php b/app/Models/Charge.php index a1840db..db8701a 100644 --- a/app/Models/Charge.php +++ b/app/Models/Charge.php @@ -94,4 +94,8 @@ public function addingAsecondFunction() { public function moreDataFound() { return true; } + + public function returnTrue() { + return true; + } } diff --git a/tests/Unit/ChargeTest.php b/tests/Unit/ChargeTest.php index c5c7749..9202389 100644 --- a/tests/Unit/ChargeTest.php +++ b/tests/Unit/ChargeTest.php @@ -73,5 +73,11 @@ public function testMoreDataFound() { $this->assertTrue($result); } + public function testReturnTrue() { + $charge = Charge::factory()->make(); + $result = $charge->returnTrue(); + $this->assertTrue($result); + + } }