Example #1
0
  @Ignore
  public void updateUser() {
    user = new User();
    user.setNickname("jun_update");
    user.setAddress("sungnam");
    user.setProfileImage("http://www.daum.net");
    user.setAccessKey(null);
    user.setId(10);

    userMapper.update(user);
  }
Example #2
0
  @Test
  public void insertUser() {
    user = new User();
    user.setNickname("정재욱");
    user.setAddress("서울");
    user.setProfileImage(null);
    user.setAccessKey(null);

    System.out.println("insert start");
    System.out.println("nickname" + user.getNickname());
    userMapper.insert(user);
    System.out.println("insert after");

    //		assertThat("success", selectUser());
  }