PAN-15 Merged with master
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
+1
@@ -49,6 +49,7 @@ public class UserServiceIntegrationTest {
|
||||
|
||||
assertTrue(result);
|
||||
}
|
||||
|
||||
private Account creatAccount(){
|
||||
final Account testAccount = new Account();
|
||||
testAccount.setUsername("test user");
|
||||
|
||||
@@ -19,10 +19,8 @@ import static org.mockito.Mockito.when;
|
||||
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class UserServiceTest {
|
||||
@Mock
|
||||
private RestService restService;
|
||||
@InjectMocks
|
||||
private UserService userService;
|
||||
@Mock private RestService restService;
|
||||
@InjectMocks private UserService userService;
|
||||
|
||||
@Test
|
||||
public void testCreateNewAccount() throws ParseException {
|
||||
|
||||
Reference in New Issue
Block a user