|
|
@@ -76,7 +76,7 @@ class FinanzasViewsTestCase(TestCase):
|
|
|
self.assertContains(response, 'Cuenta de Prueba')
|
|
|
|
|
|
def test_informe_cuenta_view(self):
|
|
|
- response = self.client.get(reverse('informe_cuenta', args=[self.cuenta_origen.id]))
|
|
|
+ response = self.client.get(reverse('informe_cuenta') + f'?cuenta_id={self.cuenta_origen.id}&fecha_inicio=2023-01-01&fecha_fin=2023-12-31')
|
|
|
self.assertEqual(response.status_code, 200)
|
|
|
self.assertContains(response, 'Cuenta de Prueba origen')
|
|
|
|