Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort users - Wrong test result #14

Open
twenzel opened this issue Mar 5, 2019 · 0 comments
Open

Sort users - Wrong test result #14

twenzel opened this issue Mar 5, 2019 · 0 comments

Comments

@twenzel
Copy link

twenzel commented Mar 5, 2019

The test "Sort Users" returns Failed, but should be "Success".
The returned user ids are sorted.

Test Case Name :  
Sort Users 

Test Case Errors :  
Response does not contain the sorted list of users 

Test Case Status :  
Failed 

To Server :  
GET http://localhost:5000/scim/v2/Users?sortBy=id&sortOrder=ascending
HTTPAuthorization: Basic dGVzdDp0ZXN0
Accept: application/json 

From Server : 
Headers : Date : Tue, 05 Mar 2019 14:23:04 GMT
Content-Type : application/scim+json; charset=UTF-8
Server : Kestrel
Transfer-Encoding : chunked

Status : 200 OK

{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:ListResponse"
    ],
    "totalResults": 3,
    "Resources": [
        {
            "id": "274598f8a5cc46dba1d698f73455d094",
            "meta": {
                "resourceType": "User",
                "created": "2019-03-05T15:23:04.4857012+01:00",
                "lastModified": "2019-03-05T15:23:04.4857012+01:00"
            },
            "schemas": [
                "urn:ietf:params:scim:schemas:core:2.0:User"
            ],
            "userName": "KKTQwhr43",
            "active": false
        },
        {
            "id": "de1604c41f2f4bfbb9864b0d038b2bd7",
            "meta": {
                "resourceType": "User",
                "created": "2019-03-05T15:23:04.4924396+01:00",
                "lastModified": "2019-03-05T15:23:04.4924396+01:00"
            },
            "schemas": [
                "urn:ietf:params:scim:schemas:core:2.0:User"
            ],
            "userName": "UttEdHt42",
            "active": false
        },
        {
            "id": "e86537587b6a48949585eafee7a78d19",
            "meta": {
                "resourceType": "User",
                "created": "2019-03-05T15:23:04.5015478+01:00",
                "lastModified": "2019-03-05T15:23:04.5015478+01:00"
            },
            "schemas": [
                "urn:ietf:params:scim:schemas:core:2.0:User"
            ],
            "userName": "AbrTkAA41",
            "active": false
        }
    ],
    "startIndex": 1,
    "itemsPerPage": 200
}

Sub Tests Performed :  
Required Attribute Test
Schema List Test
Attribute Mutability Test
Sort Users Test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant