Commit 12d2331f authored by Phillip Webb's avatar Phillip Webb

Fix failing JMS test

Fix test failure caused by URL -> Url rename in
commit 22e397cd
parent d580ce53
......@@ -36,7 +36,7 @@ import static org.junit.Assert.assertTrue;
/**
* Tests for {@link JmsTemplateAutoConfiguration}.
*
*
* @author Greg Turnquist
*/
public class JmsTemplateAutoConfigurationTests {
......@@ -157,7 +157,7 @@ public class JmsTemplateAutoConfigurationTests {
.register(TestConfiguration.class, JmsTemplateAutoConfiguration.class);
EnvironmentTestUtils.addEnvironment(this.context,
"spring.activemq.inMemory:false",
"spring.activemq.brokerURL:tcp://remote-host:10000");
"spring.activemq.brokerUrl:tcp://remote-host:10000");
this.context.refresh();
JmsTemplate jmsTemplate = this.context.getBean(JmsTemplate.class);
ActiveMQConnectionFactory connectionFactory = this.context
......@@ -215,7 +215,7 @@ public class JmsTemplateAutoConfigurationTests {
.register(TestConfiguration.class, JmsTemplateAutoConfiguration.class);
EnvironmentTestUtils.addEnvironment(this.context, "spring.activemq.pooled:true",
"spring.activemq.inMemory:false",
"spring.activemq.brokerURL:tcp://remote-host:10000");
"spring.activemq.brokerUrl:tcp://remote-host:10000");
this.context.refresh();
JmsTemplate jmsTemplate = this.context.getBean(JmsTemplate.class);
PooledConnectionFactory pool = this.context
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment