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

NotificationTest: Fix bug in test wrt callback function #94

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/extra/NotificationTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ TEST_F(NotificationTest, BasicNotificationTestWithPayload) {
auto source_filter2 = getUUri(0x8001);
auto on_rx2 = [](const v1::UMessage& message) { FAIL(); };
auto maybe_sink2 = communication::NotificationSink::create(
transport, std::move(on_rx), std::move(source_filter2));
transport, std::move(on_rx2), std::move(source_filter2));
EXPECT_TRUE(maybe_sink2.has_value());

// Send the notification messages
Expand Down Expand Up @@ -130,7 +130,7 @@ TEST_F(NotificationTest, BasicNotificationTestWithoutPayload) {
auto source_filter2 = getUUri(0x8001);
auto on_rx2 = [](const v1::UMessage& message) { FAIL(); };
auto maybe_sink2 = communication::NotificationSink::create(
transport, std::move(on_rx), std::move(source_filter2));
transport, std::move(on_rx2), std::move(source_filter2));
EXPECT_TRUE(maybe_sink2.has_value());

// Send the notification messages
Expand Down