OrganizationControllerTest to WorkspaceControllerTest

This commit is contained in:
Sidhant Goel 2022-05-06 23:12:07 +05:30
parent 549ca3ee4a
commit 0b99548493
No known key found for this signature in database
GPG Key ID: 0784E3B2D2D6C980

View File

@ -20,15 +20,15 @@ import org.springframework.web.reactive.function.BodyInserters;
@RunWith(SpringRunner.class)
@WebFluxTest(WorkspaceController.class)
@Import(SecurityTestConfig.class)
public class OrganizationControllerTest {
public class WorkspaceControllerTest {
@Autowired
private WebTestClient webTestClient;
@MockBean
private WorkspaceService organizationService;
private WorkspaceService workspaceService;
@MockBean
private UserWorkspaceService userOrganizationService;
private UserWorkspaceService userWorkspaceService;
@MockBean
private UserService userService;