Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
3f9f9a46
Commit
3f9f9a46
authored
Feb 15, 2021
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish "Start building against Spring Data Neumann-SR7 snapshots"
See gh-25282
parent
bab0862f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Neo4jDataAutoConfigurationTests.java
...configure/data/neo4j/Neo4jDataAutoConfigurationTests.java
+4
-2
No files found.
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jDataAutoConfigurationTests.java
View file @
3f9f9a46
/*
/*
* Copyright 2012-202
0
the original author or authors.
* Copyright 2012-202
1
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -215,7 +215,9 @@ class Neo4jDataAutoConfigurationTests {
...
@@ -215,7 +215,9 @@ class Neo4jDataAutoConfigurationTests {
void
doesNotProvideABookmarkManagerIfNotPossible
()
{
void
doesNotProvideABookmarkManagerIfNotPossible
()
{
this
.
contextRunner
.
withClassLoader
(
new
FilteredClassLoader
(
Caffeine
.
class
,
EmbeddedDriver
.
class
))
this
.
contextRunner
.
withClassLoader
(
new
FilteredClassLoader
(
Caffeine
.
class
,
EmbeddedDriver
.
class
))
.
withUserConfiguration
(
BookmarkManagementEnabledConfiguration
.
class
)
.
withUserConfiguration
(
BookmarkManagementEnabledConfiguration
.
class
)
.
run
((
context
)
->
assertThat
(
context
).
doesNotHaveBean
(
BookmarkManager
.
class
));
.
run
((
context
)
->
assertThat
(
context
).
hasFailed
().
getFailure
()
.
hasMessageContaining
(
"Bookmark management has been enabled"
)
.
hasMessageContaining
(
"Please provide a bookmark manager"
));
}
}
private
static
void
assertDomainTypesDiscovered
(
Neo4jMappingContext
mappingContext
,
Class
<?>...
types
)
{
private
static
void
assertDomainTypesDiscovered
(
Neo4jMappingContext
mappingContext
,
Class
<?>...
types
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment