Skip to content

Commit

Permalink
HHH-5808: Backporting tests and fixing the build
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed May 24, 2011
1 parent 2cec03b commit 2e2ad0a
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -2,10 +2,11 @@

import org.hibernate.ejb.Ejb3Configuration;
import org.hibernate.envers.test.AbstractEntityTest;
import org.hibernate.envers.test.Priority;
import org.hibernate.envers.test.entities.ids.EmbId;
import org.hibernate.envers.test.entities.ids.EmbIdTestEntity;
import org.junit.Test;

import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;

import javax.persistence.EntityManager;

Expand All @@ -20,8 +21,7 @@ public void configure(Ejb3Configuration cfg) {
cfg.addAnnotatedClass(UniRefIngMulIdEntity.class);
}

@Test
@Priority(10)
@BeforeClass(dependsOnMethods = "init")
public void initData() {
ei = new EmbId(1, 2);

Expand Down Expand Up @@ -52,4 +52,4 @@ public void testNotNullReference() {
assert notNullRef.getReference() != null;
assert notNullRef.getReference().equals(eite);
}
}
}

0 comments on commit 2e2ad0a

Please sign in to comment.