Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
dev/codeforces/test Удалил лишние импорты
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderGarifullin committed Dec 17, 2024
1 parent 7e00f7c commit be1df51
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package com.cf.cfteam.controllers.codeforces;

import com.cf.cfteam.models.entities.codeforces.Group;
import com.cf.cfteam.services.codeforces.GroupService;
import com.cf.cfteam.transfer.payloads.codeforces.GroupPayload;
import com.cf.cfteam.transfer.responses.codeforces.GroupResponse;
import com.cf.cfteam.utils.codeforces.mappers.GroupMapper;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.InjectMocks;
Expand All @@ -25,14 +23,10 @@ class GroupControllerTest {
@InjectMocks
private GroupController groupController;

@Mock
private GroupMapper groupMapper;

@Mock
private GroupService groupService;

private GroupPayload groupPayload;
// private Group group;
private GroupResponse groupResponse;

@BeforeEach
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.cf.cfteam.controllers.codeforces;

import org.mockito.InjectMocks;
import org.springframework.test.context.ActiveProfiles;

import static org.junit.jupiter.api.Assertions.*;

@ActiveProfiles("test")
class TeamControllerTest {

@InjectMocks
private TeamController teamController;



}

0 comments on commit be1df51

Please sign in to comment.