Skip to content

Commit

Permalink
Merge pull request #103 from companieshouse/feature/DSND-2440
Browse files Browse the repository at this point in the history
removed datetimeoffset function from config
  • Loading branch information
SALMANCH007 authored Mar 8, 2024
2 parents bd3d697 + bbe9cf6 commit 37f24c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ public InternalApiClient internalApiClient() {
return ApiSdkManager.getPrivateSDK();
}

@Bean
public Supplier<String> offsetDateTimeGenerator() {
return () -> String.valueOf(OffsetDateTime.now());
}

@Bean
public CompanyMetricsApiService companyMetricsApiService() {
return new CompanyMetricsApiService();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,4 @@ void internalApiClient() {
assertThat(applicationConfig.internalApiClient(), isA(InternalApiClient.class));
}

@Test
void offsetDateTimeGenerator() {
assertThat(applicationConfig.offsetDateTimeGenerator(), is(not(nullValue())));
assertThat(applicationConfig.offsetDateTimeGenerator(), isA(Supplier.class));
}
}

0 comments on commit 37f24c9

Please sign in to comment.