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
75f8e8a5
Commit
75f8e8a5
authored
Apr 19, 2017
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix actuator path used in tests
Fixup path changes that were missed during 1.5.x merge.
parent
724be85b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
LoggersMvcEndpointTests.java
...rk/boot/actuate/endpoint/mvc/LoggersMvcEndpointTests.java
+1
-1
MetricsMvcEndpointTests.java
...rk/boot/actuate/endpoint/mvc/MetricsMvcEndpointTests.java
+1
-1
No files found.
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/mvc/LoggersMvcEndpointTests.java
View file @
75f8e8a5
...
...
@@ -187,7 +187,7 @@ public class LoggersMvcEndpointTests {
throws
Exception
{
given
(
this
.
loggingSystem
.
getLoggerConfiguration
(
"com.png"
))
.
willReturn
(
new
LoggerConfiguration
(
"com.png"
,
null
,
LogLevel
.
DEBUG
));
this
.
mvc
.
perform
(
get
(
"/loggers/com.png"
)).
andExpect
(
status
().
isOk
())
this
.
mvc
.
perform
(
get
(
"/
application/
loggers/com.png"
)).
andExpect
(
status
().
isOk
())
.
andExpect
(
content
().
string
(
equalTo
(
"{\"configuredLevel\":null,"
+
"\"effectiveLevel\":\"DEBUG\"}"
)));
}
...
...
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/mvc/MetricsMvcEndpointTests.java
View file @
75f8e8a5
...
...
@@ -127,7 +127,7 @@ public class MetricsMvcEndpointTests {
@Test
public
void
specificMetricWithNameThatCouldBeMistakenForAPathExtension
()
throws
Exception
{
this
.
mvc
.
perform
(
get
(
"/metrics/bar.png"
)).
andExpect
(
status
().
isOk
())
this
.
mvc
.
perform
(
get
(
"/
application/
metrics/bar.png"
)).
andExpect
(
status
().
isOk
())
.
andExpect
(
content
().
string
(
equalTo
(
"{\"bar.png\":1}"
)));
}
...
...
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