From 9ee87d45ee0aac736499b9624c65ca0a2d3088f7 Mon Sep 17 00:00:00 2001 From: sergi-Jr Date: Thu, 20 Jun 2024 07:37:50 +0400 Subject: [PATCH] code clean up --- .../hexlet/code/app/controller/api/AuthControllerTest.java | 4 ---- .../hexlet/code/app/controller/api/UserControllerTest.java | 1 - 2 files changed, 5 deletions(-) diff --git a/app/src/test/java/hexlet/code/app/controller/api/AuthControllerTest.java b/app/src/test/java/hexlet/code/app/controller/api/AuthControllerTest.java index 6e704ca13..0b771b917 100644 --- a/app/src/test/java/hexlet/code/app/controller/api/AuthControllerTest.java +++ b/app/src/test/java/hexlet/code/app/controller/api/AuthControllerTest.java @@ -2,11 +2,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; import hexlet.code.app.authentication.model.AuthRequest; -import hexlet.code.app.user.User; import hexlet.code.app.user.UserRepository; -import net.datafaker.Faker; -import org.instancio.Instancio; -import org.instancio.Select; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; diff --git a/app/src/test/java/hexlet/code/app/controller/api/UserControllerTest.java b/app/src/test/java/hexlet/code/app/controller/api/UserControllerTest.java index 8eab42597..12f930fb9 100644 --- a/app/src/test/java/hexlet/code/app/controller/api/UserControllerTest.java +++ b/app/src/test/java/hexlet/code/app/controller/api/UserControllerTest.java @@ -8,7 +8,6 @@ import net.datafaker.Faker; import org.instancio.Instancio; import org.instancio.Select; -import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;