@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); }
@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()); }