falta la vista de los presupuestos aceptados

This commit is contained in:
2025-11-09 20:43:57 +01:00
parent 032e44b9c5
commit cc696d7a99
18 changed files with 868 additions and 118 deletions

View File

@ -1,5 +1,7 @@
package com.imprimelibros.erp.presupuesto;
import java.util.Locale;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
@ -14,7 +16,8 @@ public class savePresupuestosTest {
@Test
void testGuardarPresupuesto() {
Long resultado = cartService.crearPedido(9L);
Locale locale = new Locale("es", "ES");
Long resultado = cartService.crearPedido(9L, locale);
System.out.println("📦 Presupuesto guardado:");
System.out.println(resultado);