sahaya / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

RestAssuredResponseImpl.detailedCookie(String) hasn't been implemented yet. #230

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
assertNotNull(given().auth().none()
     .params(FORM_AUTH_CONFIG.getUserInputTagName(), login,
             FORM_AUTH_CONFIG.getPasswordInputTagName(), password)
     .expect().statusCode(HttpStatus.SC_MOVED_TEMPORARILY)
     .post(FORM_AUTH_CONFIG.getFormAction())
     .sessionId());
assertNotNull(given().auth().none()
     .params(FORM_AUTH_CONFIG.getUserInputTagName(), login,
             FORM_AUTH_CONFIG.getPasswordInputTagName(), password)
     .expect().statusCode(HttpStatus.SC_MOVED_TEMPORARILY)
     .post(FORM_AUTH_CONFIG.getFormAction())
     .detailedCookie(RestAssured.sessionId));

What is the expected output?
NotNull in both asserts.

What do you see instead?
Second assert fails.

What version of the product are you using?
1.8.0

On what operating system?
Windows

Please provide any additional information below.
com.jayway.restassured.internal.RestAssuredResponseImpl
method detailedCookie() haven't had implementation yet.

def Cookie detailedCookie(String name) {
    return null
}

Original issue reported on code.google.com by vkra...@gmail.com on 26 Apr 2013 at 2:27

GoogleCodeExporter commented 9 years ago
This has been fixed in master

Original comment by johan.ha...@gmail.com on 29 Apr 2013 at 6:47