mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-01-12 16:38:48 +00:00
26 lines
515 B
Java
26 lines
515 B
Java
package com.imprimelibros.erp.cart;
|
|
|
|
import java.util.Locale;
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
|
|
@SpringBootTest
|
|
public class envioCarroTest {
|
|
|
|
@Autowired
|
|
CartService cartService;
|
|
|
|
private final Long carritoId = 64L;
|
|
|
|
@Test
|
|
void addPedido(){
|
|
|
|
Locale locale = Locale.forLanguageTag("es-ES");
|
|
cartService.crearPedido(carritoId, locale);
|
|
}
|
|
|
|
|
|
}
|