diff --git a/app/tests/integration/QueueTest.php b/app/tests/integration/QueueTest.php index 5731cb6..aa3d601 100644 --- a/app/tests/integration/QueueTest.php +++ b/app/tests/integration/QueueTest.php @@ -123,7 +123,7 @@ class QueueTest extends TestCase $cuotaData = [ 'pie' => $pie->id, - 'fecha' => '2022-01-01', + 'fecha' => $faker->dateTimeBetween('2024-01-01')->format('Y-m-d'), 'valor' => 10000, 'banco' => $banco->id, ]; @@ -135,6 +135,6 @@ class QueueTest extends TestCase $queueService->run(); $cuota = $cuotaService->getById($cuota->id); - $this->assertNotEquals(0.0, $cuota->pago->uf); + $this->assertGreaterThan(0.0, $cuota->pago->uf); } }