Permalink
Browse files

Update test/ApplicationTest.java

  • Loading branch information...
1 parent 57e6480 commit 274a84f4f72b7787eb6beadf75c7a4a0dcb64391 @loicdescotte committed Oct 26, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 test/ApplicationTest.java
@@ -1,4 +1,3 @@
-
import java.io.ByteArrayInputStream;
import javax.xml.parsers.DocumentBuilder;
@@ -45,13 +44,12 @@ public void testYML() {
@Test
public void testUniqueArtist() {
- //JPA init error
Artist artist1 = new Artist("john");
Album album1 = new Album("coolAlbum");
album1.artist=artist1;
album1.replaceDuplicateArtist();
album1.save();
- // warning : name must be unique
+ // name must be unique
Artist artist2 = new Artist("john");
Album album2 = new Album("coolAlbum2");
album2.artist=artist2;

0 comments on commit 274a84f

Please sign in to comment.