mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-25 11:40:55 +00:00
fix: Set locale in tests to be able to run locally. Remove logging dependency fixed versions in parent pom.xml to prevent conflicts with spring boot. Update license headers. Update urm diagrams.
This commit is contained in:
@@ -36,6 +36,7 @@ import com.iluwatar.monolithic.model.User;
|
||||
import com.iluwatar.monolithic.repository.OrderRepository;
|
||||
import com.iluwatar.monolithic.repository.ProductRepository;
|
||||
import com.iluwatar.monolithic.repository.UserRepository;
|
||||
import java.util.Locale;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.mockito.Mock;
|
||||
@@ -73,6 +74,7 @@ class MonolithicAppTest {
|
||||
ecommerceApp = new EcommerceApp(userService, productService, orderService);
|
||||
outputStream = new ByteArrayOutputStream();
|
||||
System.setOut(new PrintStream(outputStream, true, StandardCharsets.UTF_8));
|
||||
Locale.setDefault(Locale.US);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user