summaryrefslogtreecommitdiff
path: root/tests/test_common
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2021-12-14 19:40:18 +0100
committerGitHub <noreply@github.com>2021-12-14 10:40:18 -0800
commit8b865a9d6445e3bce6c991224f373d71c67e87e5 (patch)
tree3e78e95b1f6ecc59833ceed1ee6418c93758bab5 /tests/test_common
parentce5a2a736792dc6e3e9957a013821374d01fb6d6 (diff)
[Core] Don't send keyboard reports that propagate no changes to the host (#14065)
Diffstat (limited to 'tests/test_common')
-rw-r--r--tests/test_common/test_fixture.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/test_common/test_fixture.cpp b/tests/test_common/test_fixture.cpp
index 0601b17191..91bf3e779e 100644
--- a/tests/test_common/test_fixture.cpp
+++ b/tests/test_common/test_fixture.cpp
@@ -48,7 +48,6 @@ void TestFixture::SetUpTestCase() {
eeconfig_update_debug(debug_config.raw);
TestDriver driver;
- EXPECT_CALL(driver, send_keyboard_mock(_));
keyboard_init();
test_logger.info() << "TestFixture setup-up end." << std::endl;
@@ -62,8 +61,6 @@ TestFixture::~TestFixture() {
test_logger.info() << "TestFixture clean-up start." << std::endl;
TestDriver driver;
- EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport())).Times(2);
-
/* Reset keyboard state. */
clear_all_keys();