cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Fixing a 3.1.x test build
Date Wed, 11 May 2016 19:08:47 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes b029fcdc8 -> c4a6faf0b


Fixing a 3.1.x test build


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/c4a6faf0
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/c4a6faf0
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/c4a6faf0

Branch: refs/heads/3.1.x-fixes
Commit: c4a6faf0b8ba43143cdb96c8258a4b335f794b2d
Parents: b029fcd
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Wed May 11 20:08:31 2016 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Wed May 11 20:08:31 2016 +0100

----------------------------------------------------------------------
 .../cxf/spring/boot/autoconfigure/CxfAutoConfigurationTests.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/c4a6faf0/integration/spring-boot/autoconfigure/src/test/java/org/apache/cxf/spring/boot/autoconfigure/CxfAutoConfigurationTests.java
----------------------------------------------------------------------
diff --git a/integration/spring-boot/autoconfigure/src/test/java/org/apache/cxf/spring/boot/autoconfigure/CxfAutoConfigurationTests.java
b/integration/spring-boot/autoconfigure/src/test/java/org/apache/cxf/spring/boot/autoconfigure/CxfAutoConfigurationTests.java
index 2e9780f..9744473 100644
--- a/integration/spring-boot/autoconfigure/src/test/java/org/apache/cxf/spring/boot/autoconfigure/CxfAutoConfigurationTests.java
+++ b/integration/spring-boot/autoconfigure/src/test/java/org/apache/cxf/spring/boot/autoconfigure/CxfAutoConfigurationTests.java
@@ -88,8 +88,8 @@ public class CxfAutoConfigurationTests {
         load(CxfAutoConfiguration.class, "spring.cxf.servlet.load-on-startup=1");
         ServletRegistrationBean registrationBean = this.context
                 .getBean(ServletRegistrationBean.class);
-        assertThat(ReflectionTestUtils.getField(registrationBean, "loadOnStartup"),
-                equalTo(1));
+        Integer value = (Integer)ReflectionTestUtils.getField(registrationBean, "loadOnStartup");
+        assertThat(value, equalTo(1));
     }
 
     @Test


Mime
View raw message