mirror of
https://github.com/google/guice.git
synced 2024-04-21 12:32:36 +00:00
Provide a non-empty name for the test cookie.
PiperOrigin-RevId: 410290707
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ public class ContinuingHttpServletRequestTest extends TestCase {
|
||||
|
||||
private static final String TEST_VALUE_1 = "testValue1";
|
||||
private static final String TEST_VALUE_2 = "testValue2";
|
||||
private static final int DEFAULT_MAX_AGE = new Cookie("", "").getMaxAge();
|
||||
private static final int DEFAULT_MAX_AGE = new Cookie("dummy", "").getMaxAge();
|
||||
|
||||
public void testReturnNullCookiesIfDelegateHasNoNull() {
|
||||
HttpServletRequest delegate = createMock(HttpServletRequest.class);
|
||||
|
||||
Reference in New Issue
Block a user