Skip to content

Commit

Permalink
tests: update ServerSessionHandlerTest
Browse files Browse the repository at this point in the history
Broken since 135a4c6 ([buteo-syncml] Use slow sync if preferred by sync
agent)
  • Loading branch information
martyone committed Jun 4, 2014
1 parent f74db94 commit fbace2c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests_meego/servertests/ServerSessionHandlerTest.cpp
Expand Up @@ -302,7 +302,9 @@ void ServerSessionHandlerTest::regression_NB166841_01()
item.meta.anchor.next = nextAnchor;
alert.items.append(item);
ResponseStatusCode status = sessionHandler.setupTargetByClient(syncMode,alert);
QCOMPARE( status, SUCCESS );
// Intentionally expecting REFRESH_REQUIRED inst. of SUCCESS. Would need
// TYPE_FAST and valid last anchor otherwise.
QCOMPARE( status, REFRESH_REQUIRED );
}

void ServerSessionHandlerTest::regression_NB166841_02()
Expand All @@ -329,7 +331,9 @@ void ServerSessionHandlerTest::regression_NB166841_02()
item.meta.anchor.next = nextAnchor;
alert.items.append(item);
ResponseStatusCode status = sessionHandler.setupTargetByClient(syncMode,alert);
QCOMPARE( status, SUCCESS );
// Intentionally expecting REFRESH_REQUIRED inst. of SUCCESS. Would need
// TYPE_FAST and valid last anchor otherwise.
QCOMPARE( status, REFRESH_REQUIRED );
}

void ServerSessionHandlerTest::regression_NB166841_03()
Expand Down

0 comments on commit fbace2c

Please sign in to comment.