Skip to content

Commit 794566a

Browse files
committed
Fix failing test
1 parent 7f4bf41 commit 794566a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spring-test/src/test/java/org/springframework/test/web/client/MockClientHttpRequestFactoryTests.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,7 +29,8 @@
2929
import static org.springframework.test.web.client.match.MockRestRequestMatchers.*;
3030

3131
/**
32-
* Tests for {@link MockClientHttpRequestFactory}.
32+
* Tests for
33+
* {@link org.springframework.test.web.client.MockMvcClientHttpRequestFactory}.
3334
*
3435
* @author Rossen Stoyanchev
3536
*/
@@ -64,7 +65,7 @@ public void noFurtherRequestsExpected() throws Exception {
6465
this.factory.createRequest(new URI("/foo"), HttpMethod.GET);
6566
}
6667
catch (AssertionError error) {
67-
assertEquals("No further requests expected", error.getMessage());
68+
assertEquals("No further requests expected: HTTP GET /foo", error.getMessage());
6869
}
6970
}
7071

0 commit comments

Comments
 (0)