UCHouseholdRepositoryTest

2

tests

0

failures

0

ignored

0.097s

duration

100%

successful

Tests

Test Duration Result
saveAndRetrieveHousehold() 0.043s passed
shouldFailToFindUCHouseholdByNino() 0.054s passed

Standard output

2020-01-24 14:02:46.023  INFO 706 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [uk.gov.dhsc.htbhf.dwp.repository.UCHouseholdRepositoryTest], using SpringBootContextLoader
2020-01-24 14:02:46.025  INFO 706 --- [    Test worker] o.s.t.c.support.AbstractContextLoader    : Could not detect default resource locations for test class [uk.gov.dhsc.htbhf.dwp.repository.UCHouseholdRepositoryTest]: no resource found for suffixes {-context.xml, Context.groovy}.
2020-01-24 14:02:46.025  INFO 706 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [uk.gov.dhsc.htbhf.dwp.repository.UCHouseholdRepositoryTest]: UCHouseholdRepositoryTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2020-01-24 14:02:46.030  INFO 706 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration uk.gov.dhsc.htbhf.dwp.DWPApplication for test class uk.gov.dhsc.htbhf.dwp.repository.UCHouseholdRepositoryTest
2020-01-24 14:02:46.033  INFO 706 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.cloud.contract.stubrunner.provider.wiremock.StubRunnerWireMockTestExecutionListener, org.springframework.cloud.contract.wiremock.WireMockTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, 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, org.springframework.test.context.event.EventPublishingTestExecutionListener, io.zonky.test.db.flyway.OptimizedFlywayTestExecutionListener]
2020-01-24 14:02:46.033  INFO 706 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1749fc1, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@71f7fb3d, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@51b88f3, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@c0a1c9a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2925004d, io.zonky.test.db.flyway.OptimizedFlywayTestExecutionListener@67c52847, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3ec0685c, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@62724dd2, org.springframework.test.context.event.EventPublishingTestExecutionListener@63d40eb9, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@2d1d8594, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@10a29ae3, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@604e49f8, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@23ac228e, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@62dc324a, org.springframework.cloud.contract.stubrunner.provider.wiremock.StubRunnerWireMockTestExecutionListener@662dc970, org.springframework.cloud.contract.wiremock.WireMockTestExecutionListener@743e5dc4]

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.2.2.RELEASE)

2020-01-24 14:02:46.062  INFO 706 --- [    Test worker] u.g.d.h.d.r.UCHouseholdRepositoryTest    : Starting UCHouseholdRepositoryTest on a43fb2d2eb54 with PID 706 (started by circleci in /home/circleci/project/api)
2020-01-24 14:02:46.062  INFO 706 --- [    Test worker] u.g.d.h.d.r.UCHouseholdRepositoryTest    : No active profile set, falling back to default profiles: default
2020-01-24 14:02:46.402  INFO 706 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2020-01-24 14:02:46.413  INFO 706 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 10ms. Found 1 JPA repository interfaces.
2020-01-24 14:02:46.435  INFO 706 --- [    Test worker] EmbeddedPostgresContextCustomizerFactory : Replacing 'dataSource' DataSource bean with embedded version
2020-01-24 14:02:46.499  INFO 706 --- [    Test worker] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-01-24 14:02:46.571  INFO 706 --- [    Test worker] i.z.t.d.l.EmbeddedDatabaseReporter       : JDBC URL to connect to the embedded database: jdbc:postgresql://localhost:36509/baaohgagllik?user=postgres
2020-01-24 14:02:46.578  INFO 706 --- [    Test worker] o.f.c.internal.database.DatabaseFactory  : Database: jdbc:postgresql://localhost:36509/baaohgagllik (PostgreSQL 10.7)
2020-01-24 14:02:46.591  INFO 706 --- [    Test worker] o.f.core.internal.command.DbValidate     : Successfully validated 9 migrations (execution time 00:00.008s)
2020-01-24 14:02:46.595  INFO 706 --- [    Test worker] o.f.core.internal.command.DbMigrate      : Current version of schema "public": 1.009
2020-01-24 14:02:46.595  INFO 706 --- [    Test worker] o.f.core.internal.command.DbMigrate      : Schema "public" is up to date. No migration necessary.
2020-01-24 14:02:46.636  INFO 706 --- [    Test worker] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2020-01-24 14:02:46.645  INFO 706 --- [    Test worker] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL10Dialect
2020-01-24 14:02:46.720  INFO 706 --- [    Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-01-24 14:02:46.720  INFO 706 --- [    Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-01-24 14:02:46.941  WARN 706 --- [    Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2020-01-24 14:02:47.156  INFO 706 --- [    Test worker] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 2 endpoint(s) beneath base path '/actuator'
2020-01-24 14:02:47.282  INFO 706 --- [    Test worker] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2020-01-24 14:02:47.447  INFO 706 --- [    Test worker] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2020-01-24 14:02:47.629  INFO 706 --- [    Test worker] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed
2020-01-24 14:02:47.629  INFO 706 --- [    Test worker] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s)
2020-01-24 14:02:47.635  INFO 706 --- [    Test worker] s.d.s.w.s.ApiListingReferenceScanner     : Scanning for api listing references
2020-01-24 14:02:47.667  INFO 706 --- [    Test worker] u.g.d.h.d.r.UCHouseholdRepositoryTest    : Started UCHouseholdRepositoryTest in 1.624 seconds (JVM running for 23.969)