diff options
Diffstat (limited to 'kernel/kapi/devices/driver.tests.cpp')
| -rw-r--r-- | kernel/kapi/devices/driver.tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kapi/devices/driver.tests.cpp b/kernel/kapi/devices/driver.tests.cpp index abce92d2..53c569dd 100644 --- a/kernel/kapi/devices/driver.tests.cpp +++ b/kernel/kapi/devices/driver.tests.cpp @@ -213,14 +213,14 @@ SCENARIO("a bound controller driver can attach a further, independently-typed bu THEN("the controller device bound the controller driver") { - auto controller = kapi::devices::find_device("stacking_test_controller"); + auto controller = kapi::devices::device_registry::get().find("stacking_test_controller"); REQUIRE(controller != nullptr); REQUIRE(controller->state() == kapi::devices::state::bound); } THEN("the leaf device the controller driver attached is reachable and bound to the leaf driver") { - auto leaf = kapi::devices::find_device("stacking_test_leaf"); + auto leaf = kapi::devices::device_registry::get().find("stacking_test_leaf"); REQUIRE(leaf != nullptr); REQUIRE(leaf->state() == kapi::devices::state::bound); REQUIRE(leaf->bound_driver() != nullptr); |
