Skip to content

Failed

org.appng.core.controller.rest.openapi.OpenApiTest.testPage

Failing for the past 1 build (Since Failed#49 )
Took 0.12 sec.

Error Message

expected:<...i/page/entity?_sect=[entities",
      "id" : "entities]",
      "title" : {...> but was:<...i/page/entity?_sect=[42",
      "id" : "42]",
      "title" : {...>

Stacktrace

org.junit.ComparisonFailure: 
expected:<...i/page/entity?_sect=[entities",
      "id" : "entities]",
      "title" : {...> but was:<...i/page/entity?_sect=[42",
      "id" : "42]",
      "title" : {...>
	at org.appng.core.controller.rest.openapi.OpenApiTest.testPage(OpenApiTest.java:74)

Standard Output

2022-06-30 15:06:02,762 INFO  [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-06-30 15:06:02,762 INFO  [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7986302f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@44126e04, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@66716c60, org.springframework.test.context.support.DirtiesContextTestExecutionListener@79f6e671, org.springframework.test.context.transaction.TransactionalTestExecutionListener@31b9a628, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@668c8c55]
2022-06-30 15:06:02,772 INFO  [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [applications/application1/beans.xml]
2022-06-30 15:06:02,801 INFO  [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-06-30 15:06:02,818 INFO  [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-06-30 15:06:02,833 INFO  [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@bf3fe88: startup date [Thu Jun 30 15:06:02 CEST 2022]; root of context hierarchy
2022-06-30 15:06:02,855 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] Found 0 MappingJackson2HttpMessageConverters: 
2022-06-30 15:06:02,855 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] Found 0 ObjectMappers: 
2022-06-30 15:06:02,855 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] Found 0 Modules: 
2022-06-30 15:06:02,855 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] Found 0 @Primary Beans: 
2022-06-30 15:06:02,855 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] No ObjectMapper found in context, creating default.
2022-06-30 15:06:02,855 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-06-30 15:06:02,856 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] Registering ObjectMapper 'defaultObjectMapper'
2022-06-30 15:06:02,856 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-06-30 15:06:02,856 INFO  [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-06-30 15:06:03,008 INFO  [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-06-30 15:06:03,009 INFO  [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2022-06-30 15:06:03,160 INFO  [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2022-06-30 15:06:03,167 INFO  [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-06-30 15:06:03,196 INFO  [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-06-30 15:06:03,197 INFO  [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-06-30 15:06:03,281 WARN  [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-06-30 15:06:03,295 INFO  [main] org.appng.core.model.ApplicationProvider: include condition for action 'update' of event 'events' did not match - ${action eq 'update' and not empty entityId}
2022-06-30 15:06:03,295 INFO  [main] org.appng.core.model.ApplicationProvider: include condition for action 'create' of event 'events' did not match - ${action eq 'create' and empty entityId}