Skip to content

Commit

Permalink
Fixed addBeansXML call
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Feb 26, 2013
1 parent c7922ff commit e326613
Showing 1 changed file with 3 additions and 5 deletions.
Expand Up @@ -31,9 +31,7 @@
import org.jboss.forge.container.AddonRegistry;
import org.jboss.forge.proxy.ClassLoaderAdapterBuilder;
import org.jboss.forge.proxy.Proxies;
import org.jboss.shrinkwrap.api.ArchivePaths;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.EmptyAsset;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
Expand All @@ -45,7 +43,7 @@ public class ClassLoaderAdapterCollisionsTest
public static ForgeArchive getDeployment()
{
ForgeArchive archive = ShrinkWrap.create(ForgeArchive.class)
.addBeansXml()
.addBeansXML()
.addPackages(true, ClassWithGetterAndSetter.class.getPackage())
.addAsAddonDependencies(
AddonDependency.create(AddonId.from("dep", "1")),
Expand All @@ -60,7 +58,7 @@ public static ForgeArchive getDeploymentDep1()
{
ForgeArchive archive = ShrinkWrap.create(ForgeArchive.class)
.addPackages(true, ClassWithGetterAndSetter.class.getPackage())
.addBeansXml();
.addBeansXML();

return archive;
}
Expand All @@ -70,7 +68,7 @@ public static ForgeArchive getDeploymentDep2()
{
ForgeArchive archive = ShrinkWrap.create(ForgeArchive.class)
.addPackages(true, ClassWithGetterAndSetter.class.getPackage())
.addBeansXml();
.addBeansXML();

return archive;
}
Expand Down

0 comments on commit e326613

Please sign in to comment.