Skip to content

Commit 3e5f4bd

Browse files
committed
DATAREST-994 - Fixed two argument constructor of RepositoryRestHandlerMapping.
Repositories in RepositoryCorsConfigurationAccessor may be null now. findCorsConfiguration returns null when no repositories are provided.
1 parent 3715b1c commit 3e5f4bd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/RepositoryCorsConfigurationAccessorUnitTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ public void createConfigurationShouldConstructFullCorsConfiguration() {
8686
assertThat(configuration.getMaxAge(), is(1234L));
8787
}
8888

89-
9089
@Test // DATAREST-994
9190
public void returnsNullCorsConfigurationWithNullRepositories() {
9291

0 commit comments

Comments
 (0)