Update branch

This commit is contained in:
cugurlu
2019-03-18 16:56:44 +01:00
parent ecdc9f3a4f
commit 563c72ffec
9 changed files with 14 additions and 31 deletions

View File

@@ -1,11 +1,11 @@
package greenify.server.rest;
import greenify.common.UserDto;
import greenify.server.data.model.User;
import greenify.server.data.repository.UserRepository;
import greenify.server.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@RestController
public class UserController {

View File

@@ -10,3 +10,4 @@ public class ApplicationTest {
@Test
public void contextLoads() throws Exception{ }
}

View File

@@ -11,7 +11,6 @@ import greenify.server.data.repository.UserRepository;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.TestConfiguration;
import org.springframework.boot.test.mock.mockito.MockBean;