Skip to content

Commit

Permalink
fixed another failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher committed Sep 2, 2009
1 parent 245101e commit 4ab07f5
Showing 1 changed file with 0 additions and 6 deletions.
Expand Up @@ -13,8 +13,6 @@
import org.codehaus.groovy.grails.plugins.PluginMetaManager;
import org.codehaus.groovy.grails.support.MockApplicationContext;
import org.codehaus.groovy.grails.web.errors.GrailsExceptionResolver;
import org.codehaus.groovy.grails.web.servlet.mvc.GrailsUrlHandlerMapping;
import org.springframework.aop.target.HotSwappableTargetSource;
import org.springframework.context.ApplicationContext;
import org.springframework.context.MessageSource;
import org.springframework.mock.web.MockHttpServletRequest;
Expand Down Expand Up @@ -102,10 +100,6 @@ public void testConfigure() throws Exception {
org.codehaus.groovy.grails.validation.GrailsDomainClassValidator validator = (org.codehaus.groovy.grails.validation.GrailsDomainClassValidator)ctx.getBean("TestValidator");
assertTrue(validator.supports(dc));

// test controller config
HotSwappableTargetSource ts = (HotSwappableTargetSource)ctx.getBean(GrailsUrlHandlerMapping.APPLICATION_CONTEXT_TARGET_SOURCE);
assertNotNull(ts.getTarget());

GroovyObject controller = (GroovyObject)ctx.getBean("TestController");
assertEquals(c,controller.getClass());
}
Expand Down

0 comments on commit 4ab07f5

Please sign in to comment.