Skip to content

Commit

Permalink
fix basic test
Browse files Browse the repository at this point in the history
  • Loading branch information
kiburtse committed Nov 9, 2023
1 parent 4e09756 commit c0bd442
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/object-store/sync/session/progress_notifications.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,14 @@ TEST_CASE("progress notification", "[sync][session][progress]") {
progress.set_local_version(1);
progress.update(0, 0, 0, 0, 1, 1);

bool callback_was_called = false;
SECTION("for upload notifications, with no data transfer ongoing") {
REQUIRE_FALSE(callback_was_called);
register_default_upload_callback();
REQUIRE(callback_was_called);
}

SECTION("for download notifications, with no data transfer ongoing") {
REQUIRE_FALSE(callback_was_called);
register_default_download_callback();
REQUIRE(callback_was_called);
}
Expand Down

0 comments on commit c0bd442

Please sign in to comment.